| Index: chrome/browser/extensions/extension_process_manager.h
|
| diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
|
| index 41d0bbb0987223a13c598fcfa2e1bd2b60b11f4f..d99ee09d3f4a86ef40e7538395f5bfcd53c6a19d 100644
|
| --- a/chrome/browser/extensions/extension_process_manager.h
|
| +++ b/chrome/browser/extensions/extension_process_manager.h
|
| @@ -147,7 +147,8 @@ class ExtensionProcessManager : public content::NotificationObserver {
|
| SiteInstanceIDMap extension_ids_;
|
|
|
| // A map of process ID to site instance ID of the site instances it hosts.
|
| - typedef std::map<int, std::set<int> > ProcessIDMap;
|
| + typedef std::set<int> SiteInstanceIDSet;
|
| + typedef std::map<int, SiteInstanceIDSet> ProcessIDMap;
|
| ProcessIDMap process_ids_;
|
|
|
| private:
|
| @@ -169,6 +170,10 @@ class ExtensionProcessManager : public content::NotificationObserver {
|
| // Excludes background page.
|
| bool HasVisibleViews(const std::string& extension_id);
|
|
|
| + // Clears the mapping for the specified site instance. Returns the process the
|
| + // site was mapped to, or -1 if it wasn't found.
|
| + int ClearSiteInstanceID(int site_instance_id);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager);
|
| };
|
|
|
|
|