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

Unified Diff: chrome/browser/tabs/tab_strip_model.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
Index: chrome/browser/tabs/tab_strip_model.cc
===================================================================
--- chrome/browser/tabs/tab_strip_model.cc (revision 91771)
+++ chrome/browser/tabs/tab_strip_model.cc (working copy)
@@ -22,6 +22,7 @@
#include "chrome/browser/tabs/tab_strip_model_delegate.h"
#include "chrome/browser/tabs/tab_strip_model_order_controller.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/url_constants.h"
#include "content/browser/renderer_host/render_process_host.h"
@@ -69,7 +70,7 @@
NotificationType::TAB_CONTENTS_DESTROYED,
NotificationService::AllSources());
registrar_.Add(this,
- NotificationType::EXTENSION_UNLOADED,
+ chrome::EXTENSION_UNLOADED,
Source<Profile>(profile_));
order_controller_ = new TabStripModelOrderController(this);
}
@@ -1004,7 +1005,7 @@
break;
}
- case NotificationType::EXTENSION_UNLOADED: {
+ case chrome::EXTENSION_UNLOADED: {
const Extension* extension =
Details<UnloadedExtensionInfo>(details)->extension;
// Iterate backwards as we may remove items while iterating.

Powered by Google App Engine
This is Rietveld 408576698