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

Side by Side Diff: chrome/browser/extensions/extension_message_bubble_controller.h

Issue 179243002: Change ProfileKeyedAPIFactory to build instances with BrowserContext instead of Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" 9 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
10 #include "chrome/browser/extensions/extension_message_bubble.h" 10 #include "chrome/browser/extensions/extension_message_bubble.h"
11 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
12 12
13 class Browser; 13 class Browser;
14 class ExtensionService; 14 class ExtensionService;
15 class Profile;
15 16
16 namespace extensions { 17 namespace extensions {
17 18
18 class ExtensionPrefs; 19 class ExtensionPrefs;
19 class SuspiciousExtensionBubble; 20 class SuspiciousExtensionBubble;
20 21
21 class ExtensionMessageBubbleController { 22 class ExtensionMessageBubbleController {
22 public: 23 public:
23 // UMA histogram constants. 24 // UMA histogram constants.
24 enum BubbleAction { 25 enum BubbleAction {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 101
101 // Whether this class has initialized. 102 // Whether this class has initialized.
102 bool initialized_; 103 bool initialized_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleController); 105 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleController);
105 }; 106 };
106 107
107 } // namespace extensions 108 } // namespace extensions
108 109
109 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_ 110 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698