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

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

Issue 7647026: base: Add three helper functions to Values API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a typo Ceate -> Create 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
« no previous file with comments | « chrome/browser/sync/js/js_arg_list_unittest.cc ('k') | chrome/browser/sync/sync_js_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bcd7f6c2bb8b62579fa937f18ebdddaf546a3502 100644
--- a/chrome/browser/sync/profile_sync_service_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc
@@ -123,9 +123,8 @@ TEST_F(ProfileSyncServiceTest, InitialState) {
}
TEST_F(ProfileSyncServiceTest, DisabledByPolicy) {
- profile_->GetTestingPrefService()->SetManagedPref(
- prefs::kSyncManaged,
- Value::CreateBooleanValue(true));
+ profile_->GetTestingPrefService()->SetManagedPref(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)));
« no previous file with comments | « chrome/browser/sync/js/js_arg_list_unittest.cc ('k') | chrome/browser/sync/sync_js_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698