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

Unified Diff: chrome/browser/sync/profile_sync_service_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 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
Index: chrome/browser/sync/profile_sync_service_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc
index 366c675604d6c216d8a86af1be2d7d243ca01fd7..a4aac6f87501ca2df4eaf3da8af2b04961b7279c 100644
--- a/chrome/browser/sync/profile_sync_service_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc
@@ -124,8 +124,7 @@ TEST_F(ProfileSyncServiceTest, InitialState) {
TEST_F(ProfileSyncServiceTest, DisabledByPolicy) {
profile_->GetTestingPrefService()->SetManagedPref(
- prefs::kSyncManaged,
- Value::CreateBooleanValue(true));
+ prefs::kSyncManaged, base::TrueValue());
service_.reset(new TestProfileSyncService(&factory_, profile_.get(),
"", true, NULL));
service_->Initialize();
@@ -199,7 +198,7 @@ TEST_F(ProfileSyncServiceTest, JsControllerProcessJsMessageBasic) {
StrictMock<MockJsReplyHandler> reply_handler;
ListValue arg_list1;
- arg_list1.Append(Value::CreateBooleanValue(false));
+ arg_list1.Append(base::FalseValue());
JsArgList args1(&arg_list1);
EXPECT_CALL(reply_handler,
HandleJsReply("getNotificationState", HasArgs(args1)));
@@ -222,7 +221,7 @@ TEST_F(ProfileSyncServiceTest,
StrictMock<MockJsReplyHandler> reply_handler;
ListValue arg_list1;
- arg_list1.Append(Value::CreateBooleanValue(false));
+ arg_list1.Append(base::FalseValue());
JsArgList args1(&arg_list1);
EXPECT_CALL(reply_handler,
HandleJsReply("getNotificationState", HasArgs(args1)));

Powered by Google App Engine
This is Rietveld 408576698