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

Unified Diff: components/metrics/profiler/tracking_synchronizer.cc

Issue 636363004: Make remaining parts of components/metrics use metrics namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros compile Created 6 years, 2 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: components/metrics/profiler/tracking_synchronizer.cc
diff --git a/components/metrics/profiler/tracking_synchronizer.cc b/components/metrics/profiler/tracking_synchronizer.cc
index a6ed6090b2cd5428374abbd15d219750073b1402..0935f3143b2b58d94338ca0a9fd449606fcced0c 100644
--- a/components/metrics/profiler/tracking_synchronizer.cc
+++ b/components/metrics/profiler/tracking_synchronizer.cc
@@ -16,6 +16,8 @@
using base::TimeTicks;
using content::BrowserThread;
+namespace metrics {
+
namespace {
// Negative numbers are never used as sequence numbers. We explicitly pick a
@@ -30,12 +32,9 @@ const int kNeverUsableSequenceNumber = -2;
// calls. This object is created on the UI thread, and it is destroyed after
// all the other threads have gone away. As a result, it is ok to call it
// from the UI thread, or for about:profiler.
-static metrics::TrackingSynchronizer* g_tracking_synchronizer =
- NULL;
+static TrackingSynchronizer* g_tracking_synchronizer = NULL;
-} // anonymous namespace
-
-namespace metrics {
+} // namespace
// The "RequestContext" structure describes an individual request received
// from the UI. All methods are accessible on UI thread.

Powered by Google App Engine
This is Rietveld 408576698