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
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 @@
// 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