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

Unified Diff: chrome/browser/ui/webui/sync_internals_ui_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
« no previous file with comments | « chrome/browser/ui/webui/quota_internals_handler.cc ('k') | chrome/browser/ui/webui/task_manager_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_internals_ui_unittest.cc
diff --git a/chrome/browser/ui/webui/sync_internals_ui_unittest.cc b/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
index eefe4fb52c41bfc37486c3fbaa5c782425358495..284ac1769feb77ee159d62738fe7fc7505ca8d02 100644
--- a/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
+++ b/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
@@ -107,15 +107,15 @@ TEST_F(SyncInternalsUITestWithService, HandleJsReply) {
ASCIIToUTF16("chrome.sync.testMessage.handleReply(5,true);")));
ListValue args;
- args.Append(Value::CreateIntegerValue(5));
- args.Append(Value::CreateBooleanValue(true));
+ args.Append(base::NumberValue::New(5));
+ args.Append(base::TrueValue());
test_sync_internals_ui_->HandleJsReply("testMessage", JsArgList(&args));
}
TEST_F(SyncInternalsUITestWithService, OnWebUISendBasic) {
const std::string& name = "testName";
ListValue args;
- args.Append(Value::CreateIntegerValue(10));
+ args.Append(base::NumberValue::New(10));
EXPECT_CALL(mock_js_controller_,
ProcessJsMessage(name, HasArgsAsList(args), _));
@@ -169,8 +169,8 @@ TEST_F(SyncInternalsUITestWithoutService, HandleJsReply) {
ASCIIToUTF16("chrome.sync.testMessage.handleReply(5,true);")));
ListValue args;
- args.Append(Value::CreateIntegerValue(5));
- args.Append(Value::CreateBooleanValue(true));
+ args.Append(base::NumberValue::New(5));
+ args.Append(base::TrueValue());
test_sync_internals_ui_->HandleJsReply(
"testMessage", JsArgList(&args));
}
@@ -178,7 +178,7 @@ TEST_F(SyncInternalsUITestWithoutService, HandleJsReply) {
TEST_F(SyncInternalsUITestWithoutService, OnWebUISendBasic) {
const std::string& name = "testName";
ListValue args;
- args.Append(Value::CreateIntegerValue(5));
+ args.Append(base::NumberValue::New(5));
// Should drop the message.
test_sync_internals_ui_->OnWebUISend(GURL(), name, args);
« no previous file with comments | « chrome/browser/ui/webui/quota_internals_handler.cc ('k') | chrome/browser/ui/webui/task_manager_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698