summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/dev_mode_bubble_controller.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-20 06:25:31 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-20 06:25:31 +0000
commit3d4d93374e1c172aecf070d1464a8cfbd00c5008 (patch)
tree9e1a2be63168dab502a2a226da6c37f5d22c2a01 /chrome/browser/extensions/dev_mode_bubble_controller.h
parent1e76b50130c7b40ad04eecaa0bc9b0b3d6e9afeb (diff)
downloadchromium_src-3d4d93374e1c172aecf070d1464a8cfbd00c5008.zip
chromium_src-3d4d93374e1c172aecf070d1464a8cfbd00c5008.tar.gz
chromium_src-3d4d93374e1c172aecf070d1464a8cfbd00c5008.tar.bz2
Cleanup: Remove some unneeded Extension* class forward declarations.
Review URL: https://codereview.chromium.org/287623005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271588 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/dev_mode_bubble_controller.h')
-rw-r--r--chrome/browser/extensions/dev_mode_bubble_controller.h52
1 files changed, 3 insertions, 49 deletions
diff --git a/chrome/browser/extensions/dev_mode_bubble_controller.h b/chrome/browser/extensions/dev_mode_bubble_controller.h
index 3a83782..e93eaaf 100644
--- a/chrome/browser/extensions/dev_mode_bubble_controller.h
+++ b/chrome/browser/extensions/dev_mode_bubble_controller.h
@@ -6,60 +6,14 @@
#define CHROME_BROWSER_EXTENSIONS_DEV_MODE_BUBBLE_CONTROLLER_H_
#include <string>
-#include "chrome/browser/extensions/extension_message_bubble_controller.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
-#include "extensions/common/extension.h"
-class Browser;
-class ExtensionService;
+#include "chrome/browser/extensions/extension_message_bubble_controller.h"
namespace extensions {
-namespace {
-
-class DevModeBubbleDelegate
- : public ExtensionMessageBubbleController::Delegate {
- public:
- explicit DevModeBubbleDelegate(Profile* profile);
- virtual ~DevModeBubbleDelegate();
-
- // ExtensionMessageBubbleController::Delegate methods.
- virtual bool ShouldIncludeExtension(const std::string& extension_id) OVERRIDE;
- virtual void AcknowledgeExtension(
- const std::string& extension_id,
- ExtensionMessageBubbleController::BubbleAction user_action) OVERRIDE;
- virtual void PerformAction(const ExtensionIdList& list) OVERRIDE;
- virtual void OnClose() OVERRIDE;
- virtual base::string16 GetTitle() const OVERRIDE;
- virtual base::string16 GetMessageBody() const OVERRIDE;
- virtual base::string16 GetOverflowText(
- const base::string16& overflow_count) const OVERRIDE;
- virtual base::string16 GetLearnMoreLabel() const OVERRIDE;
- virtual GURL GetLearnMoreUrl() const OVERRIDE;
- virtual base::string16 GetActionButtonLabel() const OVERRIDE;
- virtual base::string16 GetDismissButtonLabel() const OVERRIDE;
- virtual bool ShouldShowExtensionList() const OVERRIDE;
- virtual void LogExtensionCount(size_t count) OVERRIDE;
- virtual void LogAction(
- ExtensionMessageBubbleController::BubbleAction action) OVERRIDE;
-
- private:
- // The associated profile (weak).
- Profile* profile_;
-
- // Our extension service. Weak, not owned by us.
- ExtensionService* service_;
-
- DISALLOW_COPY_AND_ASSIGN(DevModeBubbleDelegate);
-};
-
-} // namespace
-
-class DevModeBubble;
+class Extension;
-class DevModeBubbleController
- : public ExtensionMessageBubbleController {
+class DevModeBubbleController : public ExtensionMessageBubbleController {
public:
// Clears the list of profiles the bubble has been shown for. Should only be
// used during testing.