| 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> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // Creates a new ExtensionHost with its associated view, grouping it in the | 33 // Creates a new ExtensionHost with its associated view, grouping it in the |
| 34 // appropriate SiteInstance (and therefore process) based on the URL and | 34 // appropriate SiteInstance (and therefore process) based on the URL and |
| 35 // profile. | 35 // profile. |
| 36 ExtensionHost* CreateView(Extension* extension, | 36 ExtensionHost* CreateView(Extension* extension, |
| 37 const GURL& url, | 37 const GURL& url, |
| 38 Browser* browser, | 38 Browser* browser, |
| 39 ViewType::Type view_type); | 39 ViewType::Type view_type); |
| 40 ExtensionHost* CreateView(const GURL& url, | 40 ExtensionHost* CreateView(const GURL& url, |
| 41 Browser* browser, | 41 Browser* browser, |
| 42 ViewType::Type view_type); | 42 ViewType::Type view_type); |
| 43 ExtensionHost* CreateToolstrip(Extension* extension, | |
| 44 const GURL& url, | |
| 45 Browser* browser); | |
| 46 ExtensionHost* CreateToolstrip(const GURL& url, Browser* browser); | |
| 47 ExtensionHost* CreatePopup(Extension* extension, | 43 ExtensionHost* CreatePopup(Extension* extension, |
| 48 const GURL& url, | 44 const GURL& url, |
| 49 Browser* browser); | 45 Browser* browser); |
| 50 ExtensionHost* CreatePopup(const GURL& url, Browser* browser); | 46 ExtensionHost* CreatePopup(const GURL& url, Browser* browser); |
| 51 ExtensionHost* CreateInfobar(Extension* extension, | 47 ExtensionHost* CreateInfobar(Extension* extension, |
| 52 const GURL& url, | 48 const GURL& url, |
| 53 Browser* browser); | 49 Browser* browser); |
| 54 ExtensionHost* CreateInfobar(const GURL& url, | 50 ExtensionHost* CreateInfobar(const GURL& url, |
| 55 Browser* browser); | 51 Browser* browser); |
| 56 | 52 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 scoped_refptr<BrowsingInstance> browsing_instance_; | 113 scoped_refptr<BrowsingInstance> browsing_instance_; |
| 118 | 114 |
| 119 // A map of extension ID to the render_process_id that the extension lives in. | 115 // A map of extension ID to the render_process_id that the extension lives in. |
| 120 typedef std::map<std::string, int> ProcessIDMap; | 116 typedef std::map<std::string, int> ProcessIDMap; |
| 121 ProcessIDMap process_ids_; | 117 ProcessIDMap process_ids_; |
| 122 | 118 |
| 123 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); | 119 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); |
| 124 }; | 120 }; |
| 125 | 121 |
| 126 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ | 122 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ |
| OLD | NEW |