| OLD | NEW |
| 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_observer.h" |
| 14 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
| 15 #include "chrome/common/view_types.h" | 16 #include "chrome/common/view_types.h" |
| 16 | 17 |
| 17 class Browser; | 18 class Browser; |
| 18 class BrowsingInstance; | 19 class BrowsingInstance; |
| 19 class Extension; | 20 class Extension; |
| 20 class ExtensionHost; | 21 class ExtensionHost; |
| 21 class GURL; | 22 class GURL; |
| 22 class Profile; | 23 class Profile; |
| 23 class RenderProcessHost; | 24 class RenderProcessHost; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 scoped_refptr<BrowsingInstance> browsing_instance_; | 114 scoped_refptr<BrowsingInstance> browsing_instance_; |
| 114 | 115 |
| 115 // A map of extension ID to the render_process_id that the extension lives in. | 116 // A map of extension ID to the render_process_id that the extension lives in. |
| 116 typedef std::map<std::string, int> ProcessIDMap; | 117 typedef std::map<std::string, int> ProcessIDMap; |
| 117 ProcessIDMap process_ids_; | 118 ProcessIDMap process_ids_; |
| 118 | 119 |
| 119 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); | 120 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ | 123 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ |
| OLD | NEW |