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

Unified Diff: chrome/service/cloud_print/printer_job_handler.h

Issue 12208089: Changing CloudPrintURLFetcher instantiation to be more testable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 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/printer_job_handler.h
diff --git a/chrome/service/cloud_print/printer_job_handler.h b/chrome/service/cloud_print/printer_job_handler.h
index 9090ca388dcdcf42674cb02e338192bb8c4843ab..2a97fd65615fae723ec4919006bdd7d8bb024d6b 100644
--- a/chrome/service/cloud_print/printer_job_handler.h
+++ b/chrome/service/cloud_print/printer_job_handler.h
@@ -145,7 +145,9 @@ class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>,
virtual void OnJobSpoolFailed() OVERRIDE;
// End Delegate implementations
-
+ protected:
+ virtual ~PrinterJobHandler();
+ virtual CloudPrintURLFetcher* CreateCloudPrintURLFetcher();
Vitaly Buka (NO REVIEWS) 2013/02/08 22:38:56 empty line before private
private:
friend class base::RefCountedThreadSafe<PrinterJobHandler>;
@@ -181,7 +183,7 @@ class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>,
std::vector<std::string> tags_;
};
- virtual ~PrinterJobHandler();
+
// Begin request handlers for each state in the state machine
CloudPrintURLFetcher::ResponseAction HandlePrinterUpdateResponse(
« no previous file with comments | « no previous file | chrome/service/cloud_print/printer_job_handler.cc » ('j') | chrome/service/cloud_print/printer_job_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698