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

Unified Diff: content/browser/renderer_host/browser_render_process_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
« no previous file with comments | « content/browser/plugin_service.cc ('k') | content/browser/renderer_host/render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/browser_render_process_host.cc
===================================================================
--- content/browser/renderer_host/browser_render_process_host.cc (revision 91968)
+++ content/browser/renderer_host/browser_render_process_host.cc (working copy)
@@ -812,7 +812,7 @@
RendererClosedDetails details(status, exit_code, is_extension_process_);
NotificationService::current()->Notify(
- NotificationType::RENDERER_PROCESS_CLOSED,
+ content::NOTIFICATION_RENDERER_PROCESS_CLOSED,
Source<RenderProcessHost>(this),
Details<RendererClosedDetails>(&details));
@@ -842,7 +842,7 @@
// Notify any tabs that might have swapped out renderers from this process.
// They should not attempt to swap them back in.
NotificationService::current()->Notify(
- NotificationType::RENDERER_PROCESS_CLOSING,
+ content::NOTIFICATION_RENDERER_PROCESS_CLOSING,
Source<RenderProcessHost>(this), NotificationService::NoDetails());
Send(new ChildProcessMsg_Shutdown());
@@ -896,7 +896,7 @@
// was after, we can end up executing JavaScript before the initialization
// happens.
NotificationService::current()->Notify(
- NotificationType::RENDERER_PROCESS_CREATED,
+ content::NOTIFICATION_RENDERER_PROCESS_CREATED,
Source<RenderProcessHost>(this), NotificationService::NoDetails());
while (!queued_messages_.empty()) {
« no previous file with comments | « content/browser/plugin_service.cc ('k') | content/browser/renderer_host/render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698