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

Unified Diff: sync/sessions/model_type_registry_unittest.cc

Issue 442053002: sync: Add non-blocking type encryption (retry) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « sync/sessions/model_type_registry.cc ('k') | sync/test/engine/injectable_sync_context_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/model_type_registry_unittest.cc
diff --git a/sync/sessions/model_type_registry_unittest.cc b/sync/sessions/model_type_registry_unittest.cc
index b1f1a493f942ce2392cf2400318a03f3d43d418d..96d62946f9fc49dfd0a7705b3004537430914d74 100644
--- a/sync/sessions/model_type_registry_unittest.cc
+++ b/sync/sessions/model_type_registry_unittest.cc
@@ -154,6 +154,7 @@ TEST_F(ModelTypeRegistryTest, NonBlockingTypes) {
registry()->ConnectSyncTypeToWorker(syncer::THEMES,
MakeInitialDataTypeState(THEMES),
+ UpdateResponseDataList(),
task_runner,
themes_sync_proxy.AsWeakPtrForUI());
EXPECT_TRUE(registry()->GetEnabledTypes().Equals(
@@ -161,6 +162,7 @@ TEST_F(ModelTypeRegistryTest, NonBlockingTypes) {
registry()->ConnectSyncTypeToWorker(syncer::SESSIONS,
MakeInitialDataTypeState(SESSIONS),
+ UpdateResponseDataList(),
task_runner,
sessions_sync_proxy.AsWeakPtrForUI());
EXPECT_TRUE(registry()->GetEnabledTypes().Equals(
@@ -192,6 +194,7 @@ TEST_F(ModelTypeRegistryTest, NonBlockingTypesWithDirectoryTypes) {
// Add the themes non-blocking type.
registry()->ConnectSyncTypeToWorker(syncer::THEMES,
MakeInitialDataTypeState(THEMES),
+ UpdateResponseDataList(),
task_runner,
themes_sync_proxy.AsWeakPtrForUI());
current_types.Put(syncer::THEMES);
@@ -205,6 +208,7 @@ TEST_F(ModelTypeRegistryTest, NonBlockingTypesWithDirectoryTypes) {
// Add sessions non-blocking type.
registry()->ConnectSyncTypeToWorker(syncer::SESSIONS,
MakeInitialDataTypeState(SESSIONS),
+ UpdateResponseDataList(),
task_runner,
sessions_sync_proxy.AsWeakPtrForUI());
current_types.Put(syncer::SESSIONS);
@@ -235,10 +239,12 @@ TEST_F(ModelTypeRegistryTest, DeletionOrdering) {
registry()->ConnectSyncTypeToWorker(syncer::THEMES,
MakeInitialDataTypeState(THEMES),
+ UpdateResponseDataList(),
task_runner,
themes_sync_proxy->AsWeakPtrForUI());
registry()->ConnectSyncTypeToWorker(syncer::SESSIONS,
MakeInitialDataTypeState(SESSIONS),
+ UpdateResponseDataList(),
task_runner,
sessions_sync_proxy->AsWeakPtrForUI());
EXPECT_TRUE(registry()->GetEnabledTypes().Equals(
« no previous file with comments | « sync/sessions/model_type_registry.cc ('k') | sync/test/engine/injectable_sync_context_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698