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

Unified Diff: chrome/browser/extensions/api/management/management_api.cc

Issue 298883006: Rename NOTIFICATION_EXTENSION_INSTALLED to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 6 years, 7 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/extensions/api/management/management_api.cc
diff --git a/chrome/browser/extensions/api/management/management_api.cc b/chrome/browser/extensions/api/management/management_api.cc
index c3bef7155d4571ca830f6b904528a88eb1182d40..88c9cb3c3f82f19b6738fb5cd04fd07eb03b126d 100644
--- a/chrome/browser/extensions/api/management/management_api.cc
+++ b/chrome/browser/extensions/api/management/management_api.cc
@@ -739,7 +739,7 @@ bool ManagementCreateAppShortcutFunction::RunAsync() {
ManagementEventRouter::ManagementEventRouter(Profile* profile)
: profile_(profile) {
- int types[] = {chrome::NOTIFICATION_EXTENSION_INSTALLED,
+ int types[] = {chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED,
chrome::NOTIFICATION_EXTENSION_UNINSTALLED,
chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED};
@@ -765,7 +765,7 @@ void ManagementEventRouter::Observe(
CHECK(profile_->IsSameProfile(profile));
switch (type) {
- case chrome::NOTIFICATION_EXTENSION_INSTALLED:
+ case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED:
event_name = management::OnInstalled::kEventName;
extension =
content::Details<const InstalledExtensionInfo>(details)->extension;

Powered by Google App Engine
This is Rietveld 408576698