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

Unified Diff: chrome/browser/extensions/extension_action_manager.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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/browser/extensions/extension_action_manager.cc
diff --git a/chrome/browser/extensions/extension_action_manager.cc b/chrome/browser/extensions/extension_action_manager.cc
index 2dd3a27e8ba630bf46d4bccf3f66bb15606c1480..0ddb1ddda3e59f4e511e02f4b64104b226b096bd 100644
--- a/chrome/browser/extensions/extension_action_manager.cc
+++ b/chrome/browser/extensions/extension_action_manager.cc
@@ -44,8 +44,8 @@ class ExtensionActionManagerFactory : public ProfileKeyedServiceFactory {
}
virtual ProfileKeyedService* BuildServiceInstanceFor(
- Profile* profile) const OVERRIDE {
- return new ExtensionActionManager(profile);
+ content::BrowserContext* profile) const OVERRIDE {
+ return new ExtensionActionManager(static_cast<Profile*>(profile));
}
virtual bool ServiceRedirectedInIncognito() const OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698