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

Unified Diff: chrome/browser/chromeos/status/memory_menu_button.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « chrome/browser/chrome_plugin_service_filter.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/memory_menu_button.cc
===================================================================
--- chrome/browser/chromeos/status/memory_menu_button.cc (revision 110571)
+++ chrome/browser/chromeos/status/memory_menu_button.cc (working copy)
@@ -15,9 +15,9 @@
#include "chrome/browser/chromeos/view_ids.h"
#include "chrome/browser/memory_purger.h"
#include "chrome/common/render_messages.h"
-#include "content/browser/renderer_host/render_process_host.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/browser/render_process_host.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "views/controls/menu/menu_runner.h"
@@ -160,7 +160,8 @@
// Use the "is running" value for this process to determine whether to
// start or stop profiling on the renderer processes.
bool started = IsHeapProfilerRunning();
- for (RenderProcessHost::iterator it = RenderProcessHost::AllHostsIterator();
+ for (content::RenderProcessHost::iterator it =
+ content::RenderProcessHost::AllHostsIterator();
!it.IsAtEnd(); it.Advance()) {
switch (id) {
case TOGGLE_PROFILING_ITEM:
@@ -262,9 +263,9 @@
const content::NotificationDetails& details) {
switch (type) {
case content::NOTIFICATION_RENDERER_PROCESS_CLOSED: {
- RenderProcessHost::RendererClosedDetails* process_details =
- content::Details<RenderProcessHost::RendererClosedDetails>(details).
- ptr();
+ content::RenderProcessHost::RendererClosedDetails* process_details =
+ content::Details<content::RenderProcessHost::RendererClosedDetails>(
+ details).ptr();
if (process_details->status ==
base::TERMINATION_STATUS_PROCESS_WAS_KILLED) {
renderer_kills_++;
« no previous file with comments | « chrome/browser/chrome_plugin_service_filter.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698