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

Unified Diff: chrome/browser/chromeos/printer_detector/printer_detector_factory.h

Issue 2898833002: Allow the PrinterDetector to be constructed with a delegated profile. (Closed)
Patch Set: Created 3 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 | « no previous file | chrome/browser/chromeos/printer_detector/printer_detector_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/printer_detector/printer_detector_factory.h
diff --git a/chrome/browser/chromeos/printer_detector/printer_detector_factory.h b/chrome/browser/chromeos/printer_detector/printer_detector_factory.h
index 252cba9d11a971cfb7f0eaf3144ef434cb554481..da0abea27a789714c30771781eb2ea1c6bba38a3 100644
--- a/chrome/browser/chromeos/printer_detector/printer_detector_factory.h
+++ b/chrome/browser/chromeos/printer_detector/printer_detector_factory.h
@@ -24,6 +24,10 @@ class PrinterDetectorFactory : public BrowserContextKeyedServiceFactory {
PrinterDetector* Get(content::BrowserContext* context);
+ protected:
+ content::BrowserContext* GetBrowserContextToUse(
Daniel Erat 2017/05/22 22:29:37 nit: mind adding a comment above this line to make
skau 2017/05/22 23:49:11 Done.
+ content::BrowserContext* context) const override;
+
private:
friend struct base::LazyInstanceTraitsBase<PrinterDetectorFactory>;
PrinterDetectorFactory();
« no previous file with comments | « no previous file | chrome/browser/chromeos/printer_detector/printer_detector_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698