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

Unified Diff: chrome/browser/metrics/tracking_synchronizer.h

Issue 8520016: Complete the rename from about:tracking2 --> about:profiler by changing the implementation code t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: try synching again... 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/browser_resources.grd ('k') | chrome/browser/metrics/tracking_synchronizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/tracking_synchronizer.h
===================================================================
--- chrome/browser/metrics/tracking_synchronizer.h (revision 110116)
+++ chrome/browser/metrics/tracking_synchronizer.h (working copy)
@@ -15,7 +15,7 @@
#include "base/memory/weak_ptr.h"
#include "base/time.h"
#include "base/values.h"
-#include "chrome/browser/ui/webui/tracking_ui.h"
+#include "chrome/browser/ui/webui/profiler_ui.h"
#include "content/common/child_process_info.h"
#include "content/public/browser/browser_thread.h"
@@ -42,7 +42,7 @@
// The "RequestContext" structure describes an individual request received
// from the UI.
struct RequestContext {
- RequestContext(const base::WeakPtr<TrackingUI>& callback_object,
+ RequestContext(const base::WeakPtr<ProfilerUI>& callback_object,
int sequence_number,
int processes_pending,
base::TimeTicks callback_start_time)
@@ -55,7 +55,7 @@
~RequestContext() {}
// Requests are made to asynchronously send data to the |callback_object_|.
- base::WeakPtr<TrackingUI> callback_object_;
+ base::WeakPtr<ProfilerUI> callback_object_;
// The sequence number used by the most recent update request to contact all
// processes.
@@ -86,7 +86,7 @@
// the data received from each sub-process.
// This method is accessible on UI thread.
static void FetchTrackingDataAsynchronously(
- const base::WeakPtr<TrackingUI>& callback_object);
+ const base::WeakPtr<ProfilerUI>& callback_object);
// Contact all processes and set tracking status to |enable|.
// This method is accessible on UI thread.
@@ -129,7 +129,7 @@
// |callback_object| in |outstanding_requests_| map. Return the
// sequence_number_ that was used. This method is accessible on UI thread.
int RegisterAndNotifyAllProcesses(
- const base::WeakPtr<TrackingUI>& callback_object);
+ const base::WeakPtr<ProfilerUI>& callback_object);
// It finds the |callback_object_| in |outstanding_requests_| map for the
// given |sequence_number| and notifies the |callback_object_| about the
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/metrics/tracking_synchronizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698