Index: components/sync/driver/sync_policy_handler_unittest.cc |
diff --git a/components/sync/driver/sync_policy_handler_unittest.cc b/components/sync/driver/sync_policy_handler_unittest.cc |
index 5778cf8c8c5b840e2c8b24aaff5eb1ed1040dbcc..aa6c0615f80e887b4a6325d45724d5692329e7d1 100644 |
--- a/components/sync/driver/sync_policy_handler_unittest.cc |
+++ b/components/sync/driver/sync_policy_handler_unittest.cc |
@@ -13,7 +13,7 @@ |
#include "components/sync/driver/pref_names.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-namespace sync_driver { |
+namespace syncer { |
// Test cases for the Sync policy setting. |
class SyncPolicyHandlerTest : public testing::Test {}; |
@@ -23,7 +23,7 @@ TEST_F(SyncPolicyHandlerTest, Default) { |
SyncPolicyHandler handler; |
PrefValueMap prefs; |
handler.ApplyPolicySettings(policy, &prefs); |
- EXPECT_FALSE(prefs.GetValue(sync_driver::prefs::kSyncManaged, NULL)); |
+ EXPECT_FALSE(prefs.GetValue(prefs::kSyncManaged, NULL)); |
} |
TEST_F(SyncPolicyHandlerTest, Enabled) { |
@@ -36,7 +36,7 @@ TEST_F(SyncPolicyHandlerTest, Enabled) { |
handler.ApplyPolicySettings(policy, &prefs); |
// Enabling Sync should not set the pref. |
- EXPECT_FALSE(prefs.GetValue(sync_driver::prefs::kSyncManaged, NULL)); |
+ EXPECT_FALSE(prefs.GetValue(prefs::kSyncManaged, NULL)); |
} |
TEST_F(SyncPolicyHandlerTest, Disabled) { |
@@ -50,7 +50,7 @@ TEST_F(SyncPolicyHandlerTest, Disabled) { |
// Sync should be flagged as managed. |
const base::Value* value = NULL; |
- EXPECT_TRUE(prefs.GetValue(sync_driver::prefs::kSyncManaged, &value)); |
+ EXPECT_TRUE(prefs.GetValue(prefs::kSyncManaged, &value)); |
ASSERT_TRUE(value); |
bool sync_managed = false; |
bool result = value->GetAsBoolean(&sync_managed); |
@@ -58,4 +58,4 @@ TEST_F(SyncPolicyHandlerTest, Disabled) { |
EXPECT_TRUE(sync_managed); |
} |
-} // namespace sync_driver |
+} // namespace syncer |