summaryrefslogtreecommitdiffstats
path: root/base/command_line.h
diff options
context:
space:
mode:
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 23:10:40 +0000
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 23:10:40 +0000
commit2bf64a930e179a2bd11492e897df86869dd94bd0 (patch)
treefc983571c53936a2c7b27168b4184bae76538be7 /base/command_line.h
parente617613625f7a368c9f4c198affe473cfa4f2819 (diff)
downloadchromium_src-2bf64a930e179a2bd11492e897df86869dd94bd0.zip
chromium_src-2bf64a930e179a2bd11492e897df86869dd94bd0.tar.gz
chromium_src-2bf64a930e179a2bd11492e897df86869dd94bd0.tar.bz2
Allow tracing to console everywhere.
This patch gets rid of the cc-only trace-to-vlog stuff and replaces it with a general trace-to-console approach that can be used everywhere, even the browser. BUG=None Review URL: https://chromiumcodereview.appspot.com/18174006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line.h')
-rw-r--r--base/command_line.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/command_line.h b/base/command_line.h
index aebda06..ed46c4f 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -72,6 +72,9 @@ class BASE_EXPORT CommandLine {
// only mutate if you know what you're doing!
static CommandLine* ForCurrentProcess();
+ // Returns true if the CommandLine has been initialized for the given process.
+ static bool InitializedForCurrentProcess();
+
#if defined(OS_WIN)
static CommandLine FromString(const std::wstring& command_line);
#endif