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

Unified Diff: chrome/browser/extensions/extension_debugger_api.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/extensions/extension_debugger_api.cc
===================================================================
--- chrome/browser/extensions/extension_debugger_api.cc (revision 91771)
+++ chrome/browser/extensions/extension_debugger_api.cc (working copy)
@@ -24,6 +24,7 @@
#include "content/browser/debugger/devtools_client_host.h"
#include "content/browser/debugger/devtools_manager.h"
#include "content/browser/tab_contents/tab_contents.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/common/devtools_messages.h"
#include "content/common/notification_service.h"
@@ -116,7 +117,7 @@
AttachedClientHosts::GetInstance()->Add(this);
// Detach from debugger when extension unloads.
- registrar_.Add(this, NotificationType::EXTENSION_UNLOADED,
+ registrar_.Add(this, chrome::EXTENSION_UNLOADED,
Source<Profile>(tab_contents_->profile()));
// Attach to debugger and tell it we are ready.
@@ -197,7 +198,7 @@
NotificationType type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::EXTENSION_UNLOADED);
+ DCHECK(type == chrome::EXTENSION_UNLOADED);
Close();
}

Powered by Google App Engine
This is Rietveld 408576698