summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/glue/sync_backend_host_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/glue/sync_backend_host_unittest.cc')
-rw-r--r--chrome/browser/sync/glue/sync_backend_host_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_host_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
index cea326a..7232247 100644
--- a/chrome/browser/sync/glue/sync_backend_host_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
@@ -40,10 +40,10 @@ class MockSyncFrontend : public SyncFrontend {
MOCK_METHOD1(OnPassphraseRequired, void(sync_api::PassphraseRequiredReason));
MOCK_METHOD0(OnPassphraseAccepted, void());
MOCK_METHOD2(OnEncryptedTypesChanged,
- void(const syncable::ModelTypeSet&, bool));
+ void(syncable::ModelEnumSet, bool));
MOCK_METHOD0(OnEncryptionComplete, void());
- MOCK_METHOD1(OnMigrationNeededForTypes, void(const syncable::ModelTypeSet&));
- MOCK_METHOD1(OnDataTypesChanged, void(const syncable::ModelTypeSet&));
+ MOCK_METHOD1(OnMigrationNeededForTypes, void(syncable::ModelEnumSet));
+ MOCK_METHOD1(OnDataTypesChanged, void(syncable::ModelEnumSet));
MOCK_METHOD1(OnActionableError,
void(const browser_sync::SyncProtocolError& sync_error));
};
@@ -97,7 +97,7 @@ TEST_F(SyncBackendHostTest, InitShutdown) {
backend.Initialize(&mock_frontend,
WeakHandle<JsEventHandler>(),
GURL(k_mock_url),
- syncable::ModelTypeSet(),
+ syncable::ModelEnumSet(),
credentials,
true);
backend.StopSyncingForShutdown();