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

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

Issue 6813116: Revert 81277 - Profile shouldn't own DesktopNotificationService.DesktopNotificationService is now... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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 | « chrome/browser/sync/glue/theme_util_unittest.cc ('k') | chrome/browser/themes/theme_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_service_factory.h
===================================================================
--- chrome/browser/themes/theme_service_factory.h (revision 81278)
+++ chrome/browser/themes/theme_service_factory.h (working copy)
@@ -31,6 +31,11 @@
// no installed theme, or the theme was cleared.
static const Extension* GetThemeForProfile(Profile* profile);
+ // Forces an association between |profile| and |provider|. Used in unit tests
+ // where we need to mock ThemeService.
+ static void ForceAssociationBetween(Profile* profile,
+ ThemeService* provider);
+
static ThemeServiceFactory* GetInstance();
private:
« no previous file with comments | « chrome/browser/sync/glue/theme_util_unittest.cc ('k') | chrome/browser/themes/theme_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698