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

Unified Diff: sync/internal_api/sync_core_proxy_impl_unittest.cc

Issue 249843002: Introduce NonBlockingDataTypeController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix one nit Created 6 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 | « sync/internal_api/public/non_blocking_type_processor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/sync_core_proxy_impl_unittest.cc
diff --git a/sync/internal_api/sync_core_proxy_impl_unittest.cc b/sync/internal_api/sync_core_proxy_impl_unittest.cc
index a3e228c9f48b8e9b46bdef9ee2f43b0dd376aad0..2e306ee28fdef43cb9c2acb9a361ddb59f9b6d2e 100644
--- a/sync/internal_api/sync_core_proxy_impl_unittest.cc
+++ b/sync/internal_api/sync_core_proxy_impl_unittest.cc
@@ -52,7 +52,7 @@ TEST_F(SyncCoreProxyImplTest, FailToConnect1) {
base::RunLoop run_loop_;
run_loop_.RunUntilIdle();
- EXPECT_FALSE(themes_processor.IsEnabled());
+ EXPECT_FALSE(themes_processor.IsConnected());
}
// Try to connect a type to a SyncCore as it shuts down.
@@ -63,7 +63,7 @@ TEST_F(SyncCoreProxyImplTest, FailToConnect2) {
base::RunLoop run_loop_;
run_loop_.RunUntilIdle();
- EXPECT_FALSE(themes_processor.IsEnabled());
+ EXPECT_FALSE(themes_processor.IsConnected());
}
// Tests the case where the type's processor shuts down first.
@@ -75,7 +75,7 @@ TEST_F(SyncCoreProxyImplTest, TypeDisconnectsFirst) {
base::RunLoop run_loop_;
run_loop_.RunUntilIdle();
- EXPECT_TRUE(themes_processor->IsEnabled());
+ EXPECT_TRUE(themes_processor->IsConnected());
themes_processor.reset();
}
@@ -88,7 +88,7 @@ TEST_F(SyncCoreProxyImplTest, SyncDisconnectsFirst) {
base::RunLoop run_loop_;
run_loop_.RunUntilIdle();
- EXPECT_TRUE(themes_processor->IsEnabled());
+ EXPECT_TRUE(themes_processor->IsConnected());
DisableSync();
}
« no previous file with comments | « sync/internal_api/public/non_blocking_type_processor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698