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

Unified Diff: apps/app_window.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
« no previous file with comments | « no previous file | apps/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window.cc
diff --git a/apps/app_window.cc b/apps/app_window.cc
index 20718921e4a0477d1f3b53be3dc16523e37f9608..6412b1041ba6fabfa67aacdc51131a653731a2e6 100644
--- a/apps/app_window.cc
+++ b/apps/app_window.cc
@@ -320,7 +320,7 @@ void AppWindow::Init(const GURL& url,
content::NotificationService::AllSources());
// Update the app menu if an ephemeral app becomes installed.
registrar_.Add(this,
- chrome::NOTIFICATION_EXTENSION_INSTALLED,
+ chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED,
content::Source<content::BrowserContext>(
client->GetOriginalContext(browser_context_)));
@@ -971,7 +971,7 @@ void AppWindow::Observe(int type,
native_app_window_->Close();
break;
}
- case chrome::NOTIFICATION_EXTENSION_INSTALLED: {
+ case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED: {
const extensions::Extension* installed_extension =
content::Details<const extensions::InstalledExtensionInfo>(details)
->extension;
« no previous file with comments | « no previous file | apps/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698