1 // Copyright 2020 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.components.omnibox; 6 7 import org.chromium.base.annotations.CalledByNative; 8 9 /** 10 * Dumb wrapper around the pointer to the C++ class AutocompleteSchemeClassifier. 11 */ 12 public class AutocompleteSchemeClassifier { 13 private long mNativePtr; 14 AutocompleteSchemeClassifier(long nativePtr)15 protected AutocompleteSchemeClassifier(long nativePtr) { 16 this.mNativePtr = nativePtr; 17 } 18 destroy()19 public void destroy() {} 20 21 @CalledByNative getNativePtr()22 protected long getNativePtr() { 23 return mNativePtr; 24 } 25 }