summaryrefslogtreecommitdiffstats
path: root/base/tracked_objects.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:34:40 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:34:40 +0000
commitda9ccfb9ad498ff45b8d553968e0de01ac46fb28 (patch)
tree0d6084c8e7b15a627d2bf16cc62bc3a7bd346051 /base/tracked_objects.cc
parent6f1485ee6a559b469b93f6fb56b0e70dc8b3edf1 (diff)
downloadchromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.zip
chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.gz
chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.bz2
Cleanup: Remove static storage for variables in an unnamed namespace.
BUG=none TEST=none R=binji Review URL: https://chromiumcodereview.appspot.com/9271061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.cc')
-rw-r--r--base/tracked_objects.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index 884cd56..71b3bc6 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
//------------------------------------------------------------------------------