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

Unified Diff: remoting/host/token_validator_factory_impl_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: remoting/host/token_validator_factory_impl_unittest.cc
diff --git a/remoting/host/token_validator_factory_impl_unittest.cc b/remoting/host/token_validator_factory_impl_unittest.cc
index bfbed9f38b08dcd8915193dac82d56f820753496..aa5a024ff2566b80eb3b46bbc45aa6da34ee53ba 100644
--- a/remoting/host/token_validator_factory_impl_unittest.cc
+++ b/remoting/host/token_validator_factory_impl_unittest.cc
@@ -108,7 +108,7 @@ class TokenValidatorFactoryImplTest : public testing::Test {
response_dict.SetString("token_type", "shared_secret");
response_dict.SetString("scope", scope);
std::string response;
- base::JSONWriter::Write(&response_dict, &response);
+ base::JSONWriter::Write(response_dict, &response);
return response;
}
@@ -116,7 +116,7 @@ class TokenValidatorFactoryImplTest : public testing::Test {
base::DictionaryValue response_dict;
response_dict.SetString("error", error);
std::string response;
- base::JSONWriter::Write(&response_dict, &response);
+ base::JSONWriter::Write(response_dict, &response);
return response;
}

Powered by Google App Engine
This is Rietveld 408576698