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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_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
« no previous file with comments | « chrome/browser/performance_monitor/performance_monitor.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_file_system_service.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
index 3f0ee5e6862a55d023b3486988e527cec60ed168..9f19c7e7a415bf882bbf793ae13024a68d977825 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
@@ -73,12 +73,12 @@ void DidHandleOriginForExtensionUnloadedEvent(
int type,
const GURL& origin,
SyncStatusCode code) {
- DCHECK(chrome::NOTIFICATION_EXTENSION_UNLOADED == type ||
+ DCHECK(chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED == type ||
chrome::NOTIFICATION_EXTENSION_UNINSTALLED == type);
if (code != SYNC_STATUS_OK &&
code != SYNC_STATUS_UNKNOWN_ORIGIN) {
switch (type) {
- case chrome::NOTIFICATION_EXTENSION_UNLOADED:
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED:
util::Log(logging::LOG_WARNING,
FROM_HERE,
"Disabling origin for UNLOADED(DISABLE) failed: %s",
@@ -443,7 +443,7 @@ void SyncFileSystemService::Initialize(
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED,
content::Source<Profile>(profile_));
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
content::Source<Profile>(profile_));
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED,
content::Source<Profile>(profile_));
@@ -619,7 +619,7 @@ void SyncFileSystemService::Observe(
case chrome::NOTIFICATION_EXTENSION_INSTALLED:
HandleExtensionInstalled(details);
break;
- case chrome::NOTIFICATION_EXTENSION_UNLOADED:
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED:
HandleExtensionUnloaded(type, details);
break;
case chrome::NOTIFICATION_EXTENSION_UNINSTALLED:
« no previous file with comments | « chrome/browser/performance_monitor/performance_monitor.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698