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

Unified Diff: extensions/browser/info_map.h

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 | « content/public/browser/content_browser_client.cc ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.h
diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
index 7c4267c0fe5e748b3aa0a65780168bcd2b79bc65..01597e7b980a6aa9ea4d832cd4428e4ee699f552 100644
--- a/extensions/browser/info_map.h
+++ b/extensions/browser/info_map.h
@@ -38,8 +38,6 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
// Information about which extensions are assigned to which render processes.
const ProcessMap& process_map() const { return process_map_; }
- // Information about which extensions are assigned to which worker processes.
- const ProcessMap& worker_process_map() const { return worker_process_map_; }
// Callback for when new extensions are loaded.
void AddExtension(const extensions::Extension* extension,
@@ -73,14 +71,6 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
int site_instance_id);
void UnregisterAllExtensionsInProcess(int process_id);
- // Adds an entry to worker_process_map_.
- void RegisterExtensionWorkerProcess(const std::string& extension_id,
- int process_id,
- int site_instance_id);
-
- // Removes an entry from worker_process_map_.
- void UnregisterExtensionWorkerProcess(int process_id);
-
// Returns the subset of extensions which has the same |origin| in
// |process_id| with the specified |permission|.
void GetExtensionsWithAPIPermissionForSecurityOrigin(
@@ -143,9 +133,6 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
// Assignment of extensions to renderer processes.
extensions::ProcessMap process_map_;
- // Assignment of extensions to worker processes.
- extensions::ProcessMap worker_process_map_;
-
int signin_process_id_;
scoped_refptr<ContentVerifier> content_verifier_;
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698