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

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

Issue 10520010: Not for review: Support sync init with missing or corrupt store (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Documentation Created 8 years, 6 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/test_profile_sync_service.h
diff --git a/chrome/browser/sync/test_profile_sync_service.h b/chrome/browser/sync/test_profile_sync_service.h
index 1227e5f8043a1e933048e6b890d0a7cc1acd8f5f..923c93e8e243f94a57359a109dd71f43a48b1fd9 100644
--- a/chrome/browser/sync/test_profile_sync_service.h
+++ b/chrome/browser/sync/test_profile_sync_service.h
@@ -37,18 +37,13 @@ class SyncBackendHostForProfileSyncTest : public SyncBackendHost {
Profile* profile,
const base::WeakPtr<SyncPrefs>& sync_prefs,
const base::WeakPtr<InvalidatorStorage>& invalidator_storage,
- bool set_initial_sync_ended_on_init,
bool synchronous_init,
- bool fail_initial_download,
+ bool fail_all_downloads,
bool use_real_database);
virtual ~SyncBackendHostForProfileSyncTest();
MOCK_METHOD1(RequestNudge, void(const tracked_objects::Location&));
- // Called when a nudge comes in.
- void SimulateSyncCycleCompletedInitialSyncEnded(
- const tracked_objects::Location&);
-
virtual void StartConfiguration(const base::Closure& callback) OVERRIDE;
static void SetHistoryServiceExpectations(ProfileMock* profile);
@@ -58,7 +53,7 @@ class SyncBackendHostForProfileSyncTest : public SyncBackendHost {
private:
bool synchronous_init_;
- bool fail_initial_download_;
+ bool fail_all_downloads_;
bool use_real_database_;
};
@@ -94,7 +89,7 @@ class TestProfileSyncService : public ProfileSyncService {
void dont_set_initial_sync_ended_on_init();
void set_synchronous_sync_configuration();
- void fail_initial_download();
+ void fail_all_downloads();
void set_use_real_database();
browser_sync::TestIdFactory* id_factory();
@@ -121,10 +116,8 @@ class TestProfileSyncService : public ProfileSyncService {
base::Closure callback_;
bool set_initial_sync_ended_on_init_;
- bool fail_initial_download_;
+ bool fail_all_downloads_;
bool use_real_database_;
};
-
-
#endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698