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

Unified Diff: extensions/browser/info_map.cc

Issue 468033002: Remove worker process related codes from ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/info_map.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.cc
diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc
index ced52c9e978fe4da666c8e0e0f2aff3cd0044d6e..101f35bc1dd19fb3169145c7e280282b6eb20e01 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,
« no previous file with comments | « extensions/browser/info_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698