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

Unified Diff: sync/test/accounts_client/test_accounts_client_unittest.cc

Issue 1131113004: Convert JsonWriter::Write to taking a const ref for the in-param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix platform specific stuff Created 5 years, 7 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: sync/test/accounts_client/test_accounts_client_unittest.cc
diff --git a/sync/test/accounts_client/test_accounts_client_unittest.cc b/sync/test/accounts_client/test_accounts_client_unittest.cc
index f73a43bcefd7e5306e4ae8722cf75eda18a3d311..b60c533ad210b06dc55646ff7538f19d5552299a 100644
--- a/sync/test/accounts_client/test_accounts_client_unittest.cc
+++ b/sync/test/accounts_client/test_accounts_client_unittest.cc
@@ -67,7 +67,7 @@ TEST(TestAccountsClientTest, ClaimAccountSuccess) {
success_dict.Set("expiration_time", new base::StringValue(kExpirationTime));
string success_response;
- base::JSONWriter::Write(&success_dict, &success_response);
+ base::JSONWriter::Write(success_dict, &success_response);
EXPECT_CALL(client, SendRequest(_, _))
.WillOnce(DoAll(SetArgPointee<1>(success_response), Return(true)));

Powered by Google App Engine
This is Rietveld 408576698