summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/suspicious_extension_bubble_controller.h
diff options
context:
space:
mode:
authorrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-19 06:09:17 +0000
committerrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-19 06:09:17 +0000
commit7c82539cd431202668e7ed50737af64506f266e8 (patch)
tree52d2640e2a076dccd99cd37792b9526fdc9eb5a8 /chrome/browser/extensions/suspicious_extension_bubble_controller.h
parentfcd7ad299b1ec612843418ea47dbbc6367941793 (diff)
downloadchromium_src-7c82539cd431202668e7ed50737af64506f266e8.zip
chromium_src-7c82539cd431202668e7ed50737af64506f266e8.tar.gz
chromium_src-7c82539cd431202668e7ed50737af64506f266e8.tar.bz2
Remove ExtensionService::extension_prefs()
Callers use ExtensionPrefs::Get instead of depending on ExtensionService for access. Where appropriate, other nearby, unnecessary references to ExtensionService have also been removed. BUG=341181 TBR=benwells@chromium.org,benjhayden@chromium.org,akalin@chromium.org,pkotwicz@chromium.org,stevenjb@chromium.org,sky@chromium.org,dbeam@chromium.org,finnur@chromium.org Review URL: https://codereview.chromium.org/156843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/suspicious_extension_bubble_controller.h')
-rw-r--r--chrome/browser/extensions/suspicious_extension_bubble_controller.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/extensions/suspicious_extension_bubble_controller.h b/chrome/browser/extensions/suspicious_extension_bubble_controller.h
index 4e88667..9ed5c90 100644
--- a/chrome/browser/extensions/suspicious_extension_bubble_controller.h
+++ b/chrome/browser/extensions/suspicious_extension_bubble_controller.h
@@ -6,12 +6,13 @@
#define CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_CONTROLLER_H_
#include <string>
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
+
#include "chrome/browser/extensions/extension_message_bubble_controller.h"
#include "extensions/common/extension.h"
class Browser;
class ExtensionService;
+class Profile;
using extensions::ExtensionMessageBubbleController;
@@ -20,7 +21,7 @@ namespace {
class SuspiciousExtensionBubbleDelegate
: public ExtensionMessageBubbleController::Delegate {
public:
- explicit SuspiciousExtensionBubbleDelegate(ExtensionService* service);
+ explicit SuspiciousExtensionBubbleDelegate(Profile* profile);
virtual ~SuspiciousExtensionBubbleDelegate();
// ExtensionMessageBubbleController::Delegate methods.
@@ -43,8 +44,8 @@ class SuspiciousExtensionBubbleDelegate
ExtensionMessageBubbleController::BubbleAction action) OVERRIDE;
private:
- // Our extension service. Weak, not owned by us.
- ExtensionService* service_;
+ // Our profile. Weak, not owned by us.
+ Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(SuspiciousExtensionBubbleDelegate);
};