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

Unified Diff: base/tracked_objects.cc

Issue 9271061: Cleanup: Remove static storage for variables in an unnamed namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style change. 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 | « base/path_service.cc ('k') | chrome/browser/sync/engine/syncer_proto_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked_objects.cc
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index 884cd56451883bf2dfbb68494d7ff14e8a4046bc..71b3bc620237731754a26a5d92b2f5d08cbf1475 100644
--- a/base/tracked_objects.cc
+++ b/base/tracked_objects.cc
@@ -19,11 +19,12 @@ using base::TimeDelta;
namespace tracked_objects {
namespace {
+
// Flag to compile out almost all of the task tracking code.
-static const bool kTrackAllTaskObjects = true;
+const bool kTrackAllTaskObjects = true;
// Flag to compile out parent-child link recording.
-static const bool kTrackParentChildLinks = false;
+const bool kTrackParentChildLinks = false;
// When ThreadData is first initialized, should we start in an ACTIVE state to
// record all of the startup-time tasks, or should we start up DEACTIVATED, so
@@ -31,8 +32,9 @@ static const bool kTrackParentChildLinks = false;
// Note that the flag may force either state, so this really controls only the
// period of time up until that flag is parsed. If there is no flag seen, then
// this state may prevail for much or all of the process lifetime.
-static const ThreadData::Status kInitialStartupState =
+const ThreadData::Status kInitialStartupState =
ThreadData::PROFILING_CHILDREN_ACTIVE;
+
} // namespace
//------------------------------------------------------------------------------
« no previous file with comments | « base/path_service.cc ('k') | chrome/browser/sync/engine/syncer_proto_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698