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

Unified Diff: cloud_print/service/win/chrome_launcher.cc

Issue 1408623002: Add cloud_print to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 2 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: cloud_print/service/win/chrome_launcher.cc
diff --git a/cloud_print/service/win/chrome_launcher.cc b/cloud_print/service/win/chrome_launcher.cc
index 031100f1773033474080c11dabfc1234cb15cc49..7f2bbae47f129264529176729fa5f4cbda7ece37 100644
--- a/cloud_print/service/win/chrome_launcher.cc
+++ b/cloud_print/service/win/chrome_launcher.cc
@@ -279,7 +279,7 @@ std::string ChromeLauncher::CreateServiceStateFile(
base::JSONWriter::Write(printer_list, &printers_json);
size_t written = base::WriteFile(printers_file,
printers_json.c_str(),
- printers_json.size());
+ static_cast<int>(printers_json.size()));
if (written != printers_json.size()) {
LOG(ERROR) << "Can't write file.";
return std::string();

Powered by Google App Engine
This is Rietveld 408576698