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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 139943005: Convert extensions::ProcessMap to BrowserContextKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase process_map Created 6 years, 11 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
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index d6f0050c39d52223420ad8041497ad87ffadf6ce..a388b98a7bfc8fcdc128d159be897f381503e628 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -30,7 +30,6 @@
#include "extensions/browser/management_policy.h"
#include "extensions/browser/pending_extension_manager.h"
#include "extensions/browser/process_manager.h"
-#include "extensions/browser/process_map.h"
#include "extensions/browser/quota_service.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_set.h"
@@ -125,7 +124,8 @@ class ExtensionServiceInterface
virtual base::SequencedTaskRunner* GetFileTaskRunner() = 0;
};
-// Manages installed and running Chromium extensions.
+// Manages installed and running Chromium extensions. An instance is shared
+// between normal and incognito profiles.
class ExtensionService
: public ExtensionServiceInterface,
public extensions::ExternalProviderInterface::VisitorInterface,
@@ -179,8 +179,6 @@ class ExtensionService
const base::FilePath& install_directory() const { return install_directory_; }
- extensions::ProcessMap* process_map() { return &process_map_; }
-
// Updates the app launcher value for the moved extension so that it is now
// located after the given predecessor and before the successor. This will
// trigger a sync if needed. Empty strings are used to indicate no successor
@@ -822,8 +820,6 @@ class ExtensionService
// first time.
bool is_first_run_;
- extensions::ProcessMap process_map_;
-
// A set of the extension ids currently being reloaded. We use this to
// avoid showing a "new install" notice for an extension reinstall.
std::set<std::string> extensions_being_reloaded_;
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698