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

Unified Diff: chrome/browser/themes/theme_service_factory.cc

Issue 566573004: Remove deprecated extension notification from themeservice. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors Created 6 years, 3 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/themes/theme_service_factory.cc
diff --git a/chrome/browser/themes/theme_service_factory.cc b/chrome/browser/themes/theme_service_factory.cc
index 06c2600b829a9315680104b81600b9ad1af7d8bc..d663a1cc7ddb112ff96328bddf3f76a0fcc7ab61 100644
--- a/chrome/browser/themes/theme_service_factory.cc
+++ b/chrome/browser/themes/theme_service_factory.cc
@@ -12,6 +12,7 @@
#include "chrome/common/pref_names.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "components/pref_registry/pref_registry_syncable.h"
+#include "extensions/browser/extension_registry_factory.h"
#include "extensions/browser/extension_registry.h"
#if defined(USE_AURA) && defined(USE_X11) && !defined(OS_CHROMEOS)
@@ -43,8 +44,10 @@ ThemeServiceFactory* ThemeServiceFactory::GetInstance() {
ThemeServiceFactory::ThemeServiceFactory()
: BrowserContextKeyedServiceFactory(
- "ThemeService",
- BrowserContextDependencyManager::GetInstance()) {}
+ "ThemeService",
+ BrowserContextDependencyManager::GetInstance()) {
+ DependsOn(extensions::ExtensionRegistryFactory::GetInstance());
+}
ThemeServiceFactory::~ThemeServiceFactory() {}
« chrome/browser/themes/theme_service.h ('K') | « chrome/browser/themes/theme_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698