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

Unified Diff: remoting/host/gnubby_auth_handler_posix.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: another rebase 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
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/host/host_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gnubby_auth_handler_posix.cc
diff --git a/remoting/host/gnubby_auth_handler_posix.cc b/remoting/host/gnubby_auth_handler_posix.cc
index 13c8f41c7e12f9344e47ac21df749af8c4865ade..4639f0160d1c6cc0e5868b1cfbe65d6b345e249e 100644
--- a/remoting/host/gnubby_auth_handler_posix.cc
+++ b/remoting/host/gnubby_auth_handler_posix.cc
@@ -174,7 +174,7 @@ void GnubbyAuthHandlerPosix::DeliverHostDataMessage(
request.Set(kDataPayload, bytes);
std::string request_json;
- if (!base::JSONWriter::Write(&request, &request_json)) {
+ if (!base::JSONWriter::Write(request, &request_json)) {
LOG(ERROR) << "Failed to create request json";
return;
}
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/host/host_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698