OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROCESS_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "content/public/common/view_types.h" | 15 #include "content/public/common/view_type.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 | 18 |
19 class Browser; | 19 class Browser; |
20 class BrowsingInstance; | 20 class BrowsingInstance; |
21 class Extension; | 21 class Extension; |
22 class ExtensionHost; | 22 class ExtensionHost; |
23 class GURL; | 23 class GURL; |
24 class Profile; | 24 class Profile; |
25 class RenderViewHost; | 25 class RenderViewHost; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // Close the given |host| iff it's a background page. | 129 // Close the given |host| iff it's a background page. |
130 void CloseBackgroundHost(ExtensionHost* host); | 130 void CloseBackgroundHost(ExtensionHost* host); |
131 | 131 |
132 // Excludes background page. | 132 // Excludes background page. |
133 bool HasVisibleViews(const std::string& extension_id); | 133 bool HasVisibleViews(const std::string& extension_id); |
134 | 134 |
135 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); | 135 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); |
136 }; | 136 }; |
137 | 137 |
138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ | 138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ |
OLD | NEW |