Index: extensions/browser/api/printer_provider_internal/printer_provider_internal_api.h |
diff --git a/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.h b/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.h |
index ac34c5095e9810fe4ec8f5749238059a320f916a..703ffb56625987b13ab4789c1baa66201f70f2f6 100644 |
--- a/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.h |
+++ b/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.h |
@@ -46,6 +46,10 @@ class PrinterProviderInternalAPI : public BrowserContextKeyedAPI { |
friend class PrinterProviderInternalReportPrinterCapabilityFunction; |
friend class PrinterProviderInternalReportPrintResultFunction; |
+ // BrowserContextKeyedAPI implementation. |
+ static const bool kServiceRedirectedInIncognito = true; |
+ static const char* service_name() { return "PrinterProviderInternal"; } |
+ |
// Notifies observers that a printerProvider.onGetPrintersRequested callback |
// has been called. Called from |
// |PrinterProviderInternalReportPrintersFunction|. |
@@ -68,9 +72,6 @@ class PrinterProviderInternalAPI : public BrowserContextKeyedAPI { |
int request_id, |
core_api::printer_provider_internal::PrintError error); |
- // BrowserContextKeyedAPI implementation. |
- static const char* service_name() { return "PrinterProviderInternal"; } |
- |
ObserverList<PrinterProviderInternalAPIObserver> observers_; |
DISALLOW_COPY_AND_ASSIGN(PrinterProviderInternalAPI); |