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

Unified Diff: chrome/browser/metrics/metrics_service.cc

Issue 9150017: Add a Content API around BrowserChildProcessHost, similar to what was done with ChildProcessHost.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix?! Created 8 years, 11 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 | « chrome/browser/memory_details_win.cc ('k') | chrome/browser/nacl_host/nacl_broker_host_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_service.cc
===================================================================
--- chrome/browser/metrics/metrics_service.cc (revision 118420)
+++ chrome/browser/metrics/metrics_service.cc (working copy)
@@ -177,6 +177,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/render_messages.h"
#include "content/browser/load_notification_details.h"
+#include "content/public/browser/child_process_data.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/render_process_host.h"
@@ -196,6 +197,7 @@
using base::Time;
using content::BrowserThread;
+using content::ChildProcessData;
using content::PluginService;
// Check to see that we're being called on only one thread.
@@ -1335,7 +1337,7 @@
int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- content::Details<content::ChildProcessData> child_details(details);
+ content::Details<ChildProcessData> child_details(details);
const string16& child_name = child_details->name;
if (child_process_stats_buffer_.find(child_name) ==
« no previous file with comments | « chrome/browser/memory_details_win.cc ('k') | chrome/browser/nacl_host/nacl_broker_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698