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

Unified Diff: chrome/browser/extensions/extension_install_ui_browsertest.cc

Issue 425303002: Move extension notifications to extensions/browser/notification_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (extension-notifications) rebase Created 6 years, 5 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/extension_install_ui_browsertest.cc
diff --git a/chrome/browser/extensions/extension_install_ui_browsertest.cc b/chrome/browser/extensions/extension_install_ui_browsertest.cc
index 2fde73bcd1bb1ce29ff2044d0280d7d398fbad25..ba9fca2a32b43e12e53845c5193c2e5034eca0ab 100644
--- a/chrome/browser/extensions/extension_install_ui_browsertest.cc
+++ b/chrome/browser/extensions/extension_install_ui_browsertest.cc
@@ -200,7 +200,7 @@ class NewTabUISortingBrowserTest : public ExtensionInstallUIBrowserTest,
virtual void Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE {
- if (type != chrome::NOTIFICATION_EXTENSION_LAUNCHER_REORDERED) {
+ if (type != chrome::NOTIFICATION_APP_LAUNCHER_REORDERED) {
observer_->Observe(type, source, details);
return;
}
@@ -233,8 +233,9 @@ IN_PROC_BROWSER_TEST_F(NewTabUISortingBrowserTest,
extensions::ExtensionPrefs::Get(browser()->profile())->app_sorting();
// Register for notifications in the same way as AppLauncherHandler.
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LAUNCHER_REORDERED,
- content::Source<AppSorting>(sorting));
+ registrar_.Add(this,
+ chrome::NOTIFICATION_APP_LAUNCHER_REORDERED,
+ content::Source<AppSorting>(sorting));
// ExtensionAppItem calls this when an app install starts.
sorting->EnsureValidOrdinals(app_id, syncer::StringOrdinal());
// Vefify the app is not actually installed yet.
« no previous file with comments | « chrome/browser/extensions/extension_infobar_delegate.cc ('k') | chrome/browser/extensions/extension_keybinding_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698