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

Unified Diff: chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.h

Issue 2499093002: Fix Guest Mode errors in MD Settings by using the incognito context. (Closed)
Patch Set: Created 4 years, 1 month 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/extensions/api/settings_private/settings_private_delegate_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.h
diff --git a/chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.h b/chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.h
index 3564810082cdd7888aa4f852d6b51a3b5ff23e95..a69bf7f7c1827b87777ea1e8e96911db062dd9ea 100644
--- a/chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.h
+++ b/chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.h
@@ -34,6 +34,8 @@ class SettingsPrivateDelegateFactory
// BrowserContextKeyedBaseFactory implementation.
KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const override;
+ content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* context) const override;
DISALLOW_COPY_AND_ASSIGN(SettingsPrivateDelegateFactory);
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/settings_private/settings_private_delegate_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698