Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698