| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.chrome.browser.sync; | 5 package org.chromium.chrome.browser.sync; |
| 6 | 6 |
| 7 import org.chromium.base.ThreadUtils; | 7 import org.chromium.base.ThreadUtils; |
| 8 import org.chromium.base.VisibleForTesting; | 8 import org.chromium.base.VisibleForTesting; |
| 9 import org.chromium.base.annotations.CalledByNative; | 9 import org.chromium.base.annotations.CalledByNative; |
| 10 import org.chromium.base.annotations.SuppressFBWarnings; | 10 import org.chromium.base.annotations.SuppressFBWarnings; |
| 11 import org.chromium.sync.ModelType; | 11 import org.chromium.components.sync.ModelType; |
| 12 import org.chromium.sync.PassphraseType; | 12 import org.chromium.components.sync.PassphraseType; |
| 13 import org.json.JSONArray; | 13 import org.json.JSONArray; |
| 14 import org.json.JSONException; | 14 import org.json.JSONException; |
| 15 | 15 |
| 16 import java.util.HashSet; | 16 import java.util.HashSet; |
| 17 import java.util.List; | 17 import java.util.List; |
| 18 import java.util.Set; | 18 import java.util.Set; |
| 19 import java.util.concurrent.CopyOnWriteArrayList; | 19 import java.util.concurrent.CopyOnWriteArrayList; |
| 20 | 20 |
| 21 import javax.annotation.Nullable; | 21 import javax.annotation.Nullable; |
| 22 | 22 |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 private native boolean nativeIsPassphrasePrompted(long nativeProfileSyncServ
iceAndroid); | 575 private native boolean nativeIsPassphrasePrompted(long nativeProfileSyncServ
iceAndroid); |
| 576 private native void nativeSetPassphrasePrompted(long nativeProfileSyncServic
eAndroid, | 576 private native void nativeSetPassphrasePrompted(long nativeProfileSyncServic
eAndroid, |
| 577 boolean prompted); | 577 boolean prompted); |
| 578 private native String nativeGetAboutInfoForTest(long nativeProfileSyncServic
eAndroid); | 578 private native String nativeGetAboutInfoForTest(long nativeProfileSyncServic
eAndroid); |
| 579 private native long nativeGetLastSyncedTimeForTest(long nativeProfileSyncSer
viceAndroid); | 579 private native long nativeGetLastSyncedTimeForTest(long nativeProfileSyncSer
viceAndroid); |
| 580 private native void nativeOverrideNetworkResourcesForTest( | 580 private native void nativeOverrideNetworkResourcesForTest( |
| 581 long nativeProfileSyncServiceAndroid, long networkResources); | 581 long nativeProfileSyncServiceAndroid, long networkResources); |
| 582 private native void nativeGetAllNodes( | 582 private native void nativeGetAllNodes( |
| 583 long nativeProfileSyncServiceAndroid, GetAllNodesCallback callback); | 583 long nativeProfileSyncServiceAndroid, GetAllNodesCallback callback); |
| 584 } | 584 } |
| OLD | NEW |