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

Unified Diff: content/browser/debugger/devtools_manager.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 | « content/browser/debugger/devtools_manager.h ('k') | content/browser/debugger/devtools_sanity_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/debugger/devtools_manager.cc
===================================================================
--- content/browser/debugger/devtools_manager.cc (revision 91968)
+++ content/browser/debugger/devtools_manager.cc (working copy)
@@ -41,7 +41,7 @@
DevToolsManager::DevToolsManager()
: last_orphan_cookie_(0) {
- registrar_.Add(this, NotificationType::RENDER_VIEW_HOST_DELETED,
+ registrar_.Add(this, content::NOTIFICATION_RENDER_VIEW_HOST_DELETED,
NotificationService::AllSources());
}
@@ -135,17 +135,17 @@
}
NotificationService::current()->Notify(
- NotificationType::DEVTOOLS_WINDOW_CLOSING,
+ content::NOTIFICATION_DEVTOOLS_WINDOW_CLOSING,
Source<Profile>(inspected_rvh->site_instance()->GetProcess()->profile()),
Details<RenderViewHost>(inspected_rvh));
UnbindClientHost(inspected_rvh, host);
}
-void DevToolsManager::Observe(NotificationType type,
+void DevToolsManager::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::RENDER_VIEW_HOST_DELETED);
+ DCHECK(type == content::NOTIFICATION_RENDER_VIEW_HOST_DELETED);
UnregisterDevToolsClientHostFor(Source<RenderViewHost>(source).ptr());
}
« no previous file with comments | « content/browser/debugger/devtools_manager.h ('k') | content/browser/debugger/devtools_sanity_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698