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

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

Issue 204703002: Rename NOTIFICATION_EXTENSION_UNLOADED to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maybe upload wont do something bizarre this time Created 6 years, 9 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.cc
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
index f4278d3f788772a50e86431720cd68862d7de37a..96c5021d85cd9053039922cdd1562e9f99a96d9c 100644
--- a/chrome/browser/themes/theme_service.cc
+++ b/chrome/browser/themes/theme_service.cc
@@ -273,7 +273,7 @@ void ThemeService::Observe(int type,
SetTheme(extension);
break;
}
- case chrome::NOTIFICATION_EXTENSION_UNLOADED:
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED:
{
Details<const UnloadedExtensionInfo> unloaded_details(details);
if (unloaded_details->reason != UnloadedExtensionInfo::REASON_UPDATE &&
@@ -417,7 +417,7 @@ void ThemeService::ClearAllThemeData() {
// There should be no more infobars. This may not be the case because of
// http://crbug.com/62154
// RemoveUnusedThemes is called on a task because ClearAllThemeData() may
- // be called as a result of NOTIFICATION_EXTENSION_UNLOADED.
+ // be called as a result of NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED.
base::MessageLoop::current()->PostTask(FROM_HERE,
base::Bind(&ThemeService::RemoveUnusedThemes,
weak_ptr_factory_.GetWeakPtr(),
@@ -506,7 +506,7 @@ void ThemeService::OnExtensionServiceReady() {
chrome::NOTIFICATION_EXTENSION_ENABLED,
content::Source<Profile>(profile_));
registrar_.Add(this,
- chrome::NOTIFICATION_EXTENSION_UNLOADED,
+ chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
content::Source<Profile>(profile_));
base::MessageLoop::current()->PostDelayedTask(FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698