| Index: chrome/browser/themes/theme_service_factory.cc
|
| ===================================================================
|
| --- chrome/browser/themes/theme_service_factory.cc (revision 81278)
|
| +++ chrome/browser/themes/theme_service_factory.cc (working copy)
|
| @@ -21,7 +21,6 @@
|
| GetInstance()->GetServiceForProfile(profile));
|
| }
|
|
|
| -// static
|
| const Extension* ThemeServiceFactory::GetThemeForProfile(Profile* profile) {
|
| std::string id = GetForProfile(profile)->GetThemeID();
|
| if (id == ThemeService::kDefaultThemeID)
|
| @@ -30,7 +29,11 @@
|
| return profile->GetExtensionService()->GetExtensionById(id, false);
|
| }
|
|
|
| -// static
|
| +void ThemeServiceFactory::ForceAssociationBetween(Profile* profile,
|
| + ThemeService* provider) {
|
| + GetInstance()->Associate(profile, provider);
|
| +}
|
| +
|
| ThemeServiceFactory* ThemeServiceFactory::GetInstance() {
|
| return Singleton<ThemeServiceFactory>::get();
|
| }
|
|
|