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

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

Issue 8539010: Cleanup: Remove unneeded forward declarations from chrome/browser/extensions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove the speech file that ran away, I will get it later Created 9 years, 1 month 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) 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_types.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 RenderProcessHost;
26 class RenderViewHost; 25 class RenderViewHost;
27 class SiteInstance; 26 class SiteInstance;
28 27
29 // Manages dynamic state of running Chromium extensions. There is one instance 28 // Manages dynamic state of running Chromium extensions. There is one instance
30 // of this class per Profile. OTR Profiles have a separate instance that keeps 29 // of this class per Profile. OTR Profiles have a separate instance that keeps
31 // track of split-mode extensions only. 30 // track of split-mode extensions only.
32 class ExtensionProcessManager : public content::NotificationObserver { 31 class ExtensionProcessManager : public content::NotificationObserver {
33 public: 32 public:
34 static ExtensionProcessManager* Create(Profile* profile); 33 static ExtensionProcessManager* Create(Profile* profile);
35 virtual ~ExtensionProcessManager(); 34 virtual ~ExtensionProcessManager();
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // Close the given |host| iff it's a background page. 129 // Close the given |host| iff it's a background page.
131 void CloseBackgroundHost(ExtensionHost* host); 130 void CloseBackgroundHost(ExtensionHost* host);
132 131
133 // Excludes background page. 132 // Excludes background page.
134 bool HasVisibleViews(const std::string& extension_id); 133 bool HasVisibleViews(const std::string& extension_id);
135 134
136 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); 135 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager);
137 }; 136 };
138 137
139 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ 138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_permissions_api.h ('k') | chrome/browser/extensions/extension_protocols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698