1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_CONTROLLER_H_
8 #include "chrome/browser/extensions/extension_message_bubble_controller.h"
12 namespace extensions
{
14 class SuspiciousExtensionBubbleController
15 : public extensions::ExtensionMessageBubbleController
{
17 // Clears the list of profiles the bubble has been shown for. Should only be
18 // used during testing.
19 static void ClearProfileListForTesting();
21 explicit SuspiciousExtensionBubbleController(Browser
* browser
);
22 ~SuspiciousExtensionBubbleController() override
;
24 // Whether the controller knows of extensions to list in the bubble. Returns
28 // ExtensionMessageBubbleController methods.
29 void Show(ExtensionMessageBubble
* bubble
) override
;
32 DISALLOW_COPY_AND_ASSIGN(SuspiciousExtensionBubbleController
);
35 } // namespace extensions
37 #endif // CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_CONTROLLER_H_