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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.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: content/browser/renderer_host/resource_dispatcher_host.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host.cc (revision 91968)
+++ content/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -1655,7 +1655,7 @@
BrowserThread::UI, FROM_HERE,
NewRunnableFunction(
&ResourceDispatcherHost::NotifyOnUI<ResourceRequestDetails>,
- NotificationType::RESOURCE_RESPONSE_STARTED,
+ content::NOTIFICATION_RESOURCE_RESPONSE_STARTED,
render_process_id, render_view_id, detail));
}
@@ -1673,12 +1673,12 @@
BrowserThread::UI, FROM_HERE,
NewRunnableFunction(
&ResourceDispatcherHost::NotifyOnUI<ResourceRedirectDetails>,
- NotificationType::RESOURCE_RECEIVED_REDIRECT,
+ content::NOTIFICATION_RESOURCE_RECEIVED_REDIRECT,
render_process_id, render_view_id, detail));
}
template <class T>
-void ResourceDispatcherHost::NotifyOnUI(NotificationType type,
+void ResourceDispatcherHost::NotifyOnUI(int type,
int render_process_id,
int render_view_id,
T* detail) {

Powered by Google App Engine
This is Rietveld 408576698