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

Unified Diff: chrome/service/cloud_print/print_system_cups.cc

Issue 6245005: Code to send diagnostic messages about cloud print proxy. Currently diagnosti... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fixed build errors yet again Created 9 years, 11 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: chrome/service/cloud_print/print_system_cups.cc
===================================================================
--- chrome/service/cloud_print/print_system_cups.cc (revision 70946)
+++ chrome/service/cloud_print/print_system_cups.cc (working copy)
@@ -72,7 +72,7 @@
explicit PrintSystemCUPS(const DictionaryValue* print_system_settings);
// PrintSystem implementation.
- virtual void Init();
+ virtual PrintSystemResult Init();
virtual void EnumeratePrinters(printing::PrinterList* printer_list);
@@ -405,9 +405,10 @@
print_servers_.push_back(print_server);
}
-void PrintSystemCUPS::Init() {
+PrintSystem::PrintSystemResult PrintSystemCUPS::Init() {
UpdatePrinters();
initialized_ = true;
+ return PrintSystemResult(true, std::string());
}
void PrintSystemCUPS::UpdatePrinters() {

Powered by Google App Engine
This is Rietveld 408576698