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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_unittest.cc

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/glue/sync_backend_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
index f6de9ae4d27a8c7bb7c91eab38968a80f4ed1577..2fa250da69d0f3c670f1963e07c52d822615987a 100644
--- a/chrome/browser/sync/glue/sync_backend_host_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
@@ -34,15 +34,15 @@ class MockSyncFrontend : public SyncFrontend {
virtual ~MockSyncFrontend() {}
MOCK_METHOD2(OnBackendInitialized,
- void(const csync::WeakHandle<csync::JsBackend>&, bool));
+ void(const syncer::WeakHandle<syncer::JsBackend>&, bool));
MOCK_METHOD0(OnSyncCycleCompleted, void());
MOCK_METHOD1(OnConnectionStatusChange,
- void(csync::ConnectionStatus status));
+ void(syncer::ConnectionStatus status));
MOCK_METHOD0(OnStopSyncingPermanently, void());
MOCK_METHOD0(OnClearServerDataSucceeded, void());
MOCK_METHOD0(OnClearServerDataFailed, void());
MOCK_METHOD2(OnPassphraseRequired,
- void(csync::PassphraseRequiredReason,
+ void(syncer::PassphraseRequiredReason,
const sync_pb::EncryptedData&));
MOCK_METHOD0(OnPassphraseAccepted, void());
MOCK_METHOD2(OnEncryptedTypesChanged,
@@ -50,9 +50,9 @@ class MockSyncFrontend : public SyncFrontend {
MOCK_METHOD0(OnEncryptionComplete, void());
MOCK_METHOD1(OnMigrationNeededForTypes, void(syncable::ModelTypeSet));
MOCK_METHOD1(OnExperimentsChanged,
- void(const csync::Experiments&));
+ void(const syncer::Experiments&));
MOCK_METHOD1(OnActionableError,
- void(const csync::SyncProtocolError& sync_error));
+ void(const syncer::SyncProtocolError& sync_error));
MOCK_METHOD0(OnSyncConfigureRetry, void());
};
@@ -101,12 +101,12 @@ TEST_F(SyncBackendHostTest, InitShutdown) {
invalidator_storage.AsWeakPtr());
MockSyncFrontend mock_frontend;
- csync::SyncCredentials credentials;
+ syncer::SyncCredentials credentials;
credentials.email = "user@example.com";
credentials.sync_token = "sync_token";
- csync::TestUnrecoverableErrorHandler handler;
+ syncer::TestUnrecoverableErrorHandler handler;
backend.Initialize(&mock_frontend,
- csync::WeakHandle<csync::JsEventHandler>(),
+ syncer::WeakHandle<syncer::JsEventHandler>(),
GURL(k_mock_url),
syncable::ModelTypeSet(),
credentials,
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698