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

Unified Diff: chrome/browser/extensions/suspicious_extension_bubble_controller.h

Issue 156843004: Remove ExtensionService::extension_prefs() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix UserScriptListenerTests.MultiProfile Created 6 years, 10 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/suspicious_extension_bubble_controller.h
diff --git a/chrome/browser/extensions/suspicious_extension_bubble_controller.h b/chrome/browser/extensions/suspicious_extension_bubble_controller.h
index 4e8866731376f55b529e959da7b3803b96e9a14b..9ed5c90c1a34d38b1045d9568ab312b10a0663f7 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);
};

Powered by Google App Engine
This is Rietveld 408576698