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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/extensions/extension_function.cc ('k') | chrome/browser/extensions/extension_history_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_gallery_install_apitest.cc
===================================================================
--- chrome/browser/extensions/extension_gallery_install_apitest.cc (revision 91968)
+++ chrome/browser/extensions/extension_gallery_install_apitest.cc (working copy)
@@ -9,12 +9,12 @@
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_webstore_private_api.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/ui_test_utils.h"
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
#include "content/common/notification_service.h"
-#include "content/common/notification_type.h"
#include "net/base/mock_host_resolver.h"
// This is a helper class to let us automatically accept extension install
@@ -25,7 +25,7 @@
public:
GalleryInstallApiTestObserver() {
registrar_.Add(this,
- NotificationType::EXTENSION_WILL_SHOW_CONFIRM_DIALOG,
+ chrome::NOTIFICATION_EXTENSION_WILL_SHOW_CONFIRM_DIALOG,
NotificationService::AllSources());
}
@@ -33,7 +33,7 @@
delegate->InstallUIProceed();
}
- virtual void Observe(NotificationType type,
+ virtual void Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE {
ExtensionInstallUI* prompt = Source<ExtensionInstallUI>(source).ptr();
« no previous file with comments | « chrome/browser/extensions/extension_function.cc ('k') | chrome/browser/extensions/extension_history_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698