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

Unified Diff: chrome/browser/sync/profile_sync_service_harness.h

Issue 13743003: sync: Finish the SyncScheduler refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix AuthErrorTest Created 7 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
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/sync_errors_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_harness.h
diff --git a/chrome/browser/sync/profile_sync_service_harness.h b/chrome/browser/sync/profile_sync_service_harness.h
index 35bb19a110da811cd4dcc3c6b673aa1bcea36c0a..9b2d7eb93e1146fa7249c92ab3d7a9713e68fbde 100644
--- a/chrome/browser/sync/profile_sync_service_harness.h
+++ b/chrome/browser/sync/profile_sync_service_harness.h
@@ -195,6 +195,10 @@ class ProfileSyncServiceHarness
// Gets the |auto_start_enabled_| variable from the |service_|.
bool AutoStartEnabled();
+ // Returns true if a status change took place, false on timeout.
+ bool AwaitStatusChangeWithTimeout(int timeout_milliseconds,
+ const std::string& reason);
+
private:
friend class StateChangeTimeoutEvent;
@@ -286,10 +290,6 @@ class ProfileSyncServiceHarness
// change has taken place.
bool RunStateChangeMachine();
- // Returns true if a status change took place, false on timeout.
- bool AwaitStatusChangeWithTimeout(int timeout_milliseconds,
- const std::string& reason);
-
// A helper for implementing IsDataSynced() and IsFullySynced().
bool IsDataSyncedImpl(
const syncer::sessions::SyncSessionSnapshot& snapshot);
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/sync_errors_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698