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

Unified Diff: apps/shell/browser/shell_extension_system.cc

Issue 137753016: ExtensionSystem cleanup part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « apps/shell/browser/shell_extension_system.h ('k') | apps/shell/browser/shell_extension_system_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_extension_system.cc
diff --git a/apps/shell/browser/shell_extension_system.cc b/apps/shell/browser/shell_extension_system.cc
index 324368fa76c7681a133da40b0223391447accf41..549931abc800b0f0f8919bd0f362cd1a8b532917 100644
--- a/apps/shell/browser/shell_extension_system.cc
+++ b/apps/shell/browser/shell_extension_system.cc
@@ -17,9 +17,7 @@
#include "content/public/browser/notification_source.h"
#include "extensions/browser/event_router.h"
#include "extensions/browser/extension_prefs.h"
-#include "extensions/browser/extension_prefs_factory.h"
#include "extensions/browser/extension_registry.h"
-#include "extensions/browser/extension_registry_factory.h"
#include "extensions/browser/info_map.h"
#include "extensions/browser/lazy_background_task_queue.h"
#include "extensions/browser/process_manager.h"
@@ -38,15 +36,6 @@ ShellExtensionSystem::ShellExtensionSystem(BrowserContext* browser_context)
ShellExtensionSystem::~ShellExtensionSystem() {
}
-// static
-std::vector<BrowserContextKeyedServiceFactory*>
-ShellExtensionSystem::GetDependencies() {
- std::vector<BrowserContextKeyedServiceFactory*> depends_on;
- depends_on.push_back(ExtensionPrefsFactory::GetInstance());
- depends_on.push_back(ExtensionRegistryFactory::GetInstance());
- return depends_on;
-}
-
bool ShellExtensionSystem::LoadAndLaunchApp(const base::FilePath& app_dir) {
std::string load_error;
scoped_refptr<Extension> extension =
« no previous file with comments | « apps/shell/browser/shell_extension_system.h ('k') | apps/shell/browser/shell_extension_system_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698