summaryrefslogtreecommitdiffstats
path: root/extensions/browser/info_map.cc
diff options
context:
space:
mode:
authorhoro@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 08:33:51 +0000
committerhoro@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 08:35:23 +0000
commit23935931099331549af21fdb4d3cb942d473537c (patch)
tree96f33beca9125657120538ea74e98619e355172b /extensions/browser/info_map.cc
parentdb681ab00427e68df6ac524e711e6d13f7efff6f (diff)
downloadchromium_src-23935931099331549af21fdb4d3cb942d473537c.zip
chromium_src-23935931099331549af21fdb4d3cb942d473537c.tar.gz
chromium_src-23935931099331549af21fdb4d3cb942d473537c.tar.bz2
Remove worker process related codes from ContentBrowserClient.
BUG=327256 Review URL: https://codereview.chromium.org/468033002 Cr-Commit-Position: refs/heads/master@{#290139} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/info_map.cc')
-rw-r--r--extensions/browser/info_map.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc
index ced52c9..101f35b 100644
--- a/extensions/browser/info_map.cc
+++ b/extensions/browser/info_map.cc
@@ -129,19 +129,6 @@ void InfoMap::UnregisterAllExtensionsInProcess(int process_id) {
process_map_.RemoveAllFromProcess(process_id);
}
-void InfoMap::RegisterExtensionWorkerProcess(const std::string& extension_id,
- int process_id,
- int site_instance_id) {
- if (!worker_process_map_.Insert(extension_id, process_id, site_instance_id)) {
- NOTREACHED() << "Duplicate extension worker process registration for: "
- << extension_id << "," << process_id << ".";
- }
-}
-
-void InfoMap::UnregisterExtensionWorkerProcess(int process_id) {
- worker_process_map_.RemoveAllFromProcess(process_id);
-}
-
void InfoMap::GetExtensionsWithAPIPermissionForSecurityOrigin(
const GURL& origin,
int process_id,