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

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

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "chrome/common/notification_registrar.h" 14 #include "chrome/common/notification_registrar.h"
15 #include "chrome/common/view_types.h" 15 #include "chrome/common/view_types.h"
16 16
17 class Browser; 17 class Browser;
18 class BrowsingInstance; 18 class BrowsingInstance;
19 class Extension; 19 class Extension;
20 class ExtensionHost; 20 class ExtensionHost;
21 #if defined(TOOLKIT_VIEWS)
22 class ExtensionView;
23 #endif
24 class GURL; 21 class GURL;
25 class Profile; 22 class Profile;
26 class RenderProcessHost; 23 class RenderProcessHost;
27 class SiteInstance; 24 class SiteInstance;
28 25
29 // Manages dynamic state of running Chromium extensions. There is one instance 26 // Manages dynamic state of running Chromium extensions. There is one instance
30 // of this class per Profile (including OTR). 27 // of this class per Profile (including OTR).
31 class ExtensionProcessManager : public NotificationObserver { 28 class ExtensionProcessManager : public NotificationObserver {
32 public: 29 public:
33 explicit ExtensionProcessManager(Profile* profile); 30 explicit ExtensionProcessManager(Profile* profile);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 scoped_refptr<BrowsingInstance> browsing_instance_; 117 scoped_refptr<BrowsingInstance> browsing_instance_;
121 118
122 // A map of extension ID to the render_process_id that the extension lives in. 119 // A map of extension ID to the render_process_id that the extension lives in.
123 typedef std::map<std::string, int> ProcessIDMap; 120 typedef std::map<std::string, int> ProcessIDMap;
124 ProcessIDMap process_ids_; 121 ProcessIDMap process_ids_;
125 122
126 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); 123 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager);
127 }; 124 };
128 125
129 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ 126 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698