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

Unified Diff: chrome/browser/sync/sync_js_controller_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/sync_js_controller_unittest.cc
diff --git a/chrome/browser/sync/sync_js_controller_unittest.cc b/chrome/browser/sync/sync_js_controller_unittest.cc
index 96bc6b3ddd9377c9fff42190b14d2eb6c6131e0b..357e4ae3a0bb49467d1ddead742171a2bacf5d4e 100644
--- a/chrome/browser/sync/sync_js_controller_unittest.cc
+++ b/chrome/browser/sync/sync_js_controller_unittest.cc
@@ -37,8 +37,8 @@ TEST_F(SyncJsControllerTest, Messages) {
SyncJsController sync_js_controller;
ListValue arg_list1, arg_list2;
- arg_list1.Append(Value::CreateBooleanValue(false));
- arg_list2.Append(Value::CreateIntegerValue(5));
+ arg_list1.Append(base::FalseValue());
+ arg_list2.Append(base::NumberValue::New(5));
JsArgList args1(&arg_list1), args2(&arg_list2);
// TODO(akalin): Write matchers for WeakHandle and use them here
@@ -63,8 +63,8 @@ TEST_F(SyncJsControllerTest, QueuedMessages) {
SyncJsController sync_js_controller;
ListValue arg_list1, arg_list2;
- arg_list1.Append(Value::CreateBooleanValue(false));
- arg_list2.Append(Value::CreateIntegerValue(5));
+ arg_list1.Append(base::FalseValue());
+ arg_list2.Append(base::NumberValue::New(5));
JsArgList args1(&arg_list1), args2(&arg_list2);
// Should queue messages.
« no previous file with comments | « chrome/browser/sync/protocol/proto_value_conversions.cc ('k') | chrome/browser/sync/sync_setup_wizard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698