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

Unified Diff: chrome/browser/sync/engine/syncapi.h

Issue 6874018: make new syncer thread the default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send for CR. Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/engine/syncapi.h
diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h
index 1718c715edf09a31bf40701c608d4fb354f715a0..1011a299d6ca4d9697cf1f728e0231336fc41106 100644
--- a/chrome/browser/sync/engine/syncapi.h
+++ b/chrome/browser/sync/engine/syncapi.h
@@ -808,12 +808,6 @@ class SyncManager {
// message, unless otherwise specified, produces undefined behavior.
virtual void OnInitializationComplete() = 0;
- // The syncer thread has been paused.
- virtual void OnPaused() = 0;
-
- // The syncer thread has been resumed.
- virtual void OnResumed() = 0;
-
// We are no longer permitted to communicate with the server. Sync should
// be disabled and state cleaned up at once. This can happen for a number
// of reasons, e.g. swapping from a test instance to production, or a
@@ -917,20 +911,6 @@ class SyncManager {
// types, as we do not currently support decrypting datatypes.
void EncryptDataTypes(const syncable::ModelTypeSet& encrypted_types);
- // Requests the syncer thread to pause. The observer's OnPause
- // method will be called when the syncer thread is paused. Returns
- // false if the syncer thread can not be paused (e.g. if it is not
- // started).
- // TODO(tim): Deprecated.
- bool RequestPause();
-
- // Requests the syncer thread to resume. The observer's OnResume
- // method will be called when the syncer thread is resumed. Returns
- // false if the syncer thread can not be resumed (e.g. if it is not
- // paused).
- // TODO(tim): Deprecated.
- bool RequestResume();
-
// Puts the SyncerThread into a mode where no normal nudge or poll traffic
// will occur, but calls to RequestConfig will be supported. If |callback|
// is provided, it will be invoked (from the internal SyncerThread) when

Powered by Google App Engine
This is Rietveld 408576698