Make castv2 performance test work.
[chromium-blink-merge.git] / components / cronet / android / test / src / org / chromium / net / NetworkChangeNotifierUtil.java
blob70be13490aac833026a8bf87e29e05f9b4e4acad
1 // Copyright 2014 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.
5 package org.chromium.net;
7 import org.chromium.base.JNINamespace;
9 /**
10 * Wrapper class that contains utility methods to test network change notifier.
12 @JNINamespace("cronet")
13 public final class NetworkChangeNotifierUtil {
14 public static boolean isTestIPAddressObserverCalled() {
15 return nativeIsTestIPAddressObserverCalled();
18 private static native boolean nativeIsTestIPAddressObserverCalled();