Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index 7d137f266cb3e5488be5d9ae7607c35be58e67e7..36ac88f12c18c78794768e5e881e45201506c3ef 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -201,6 +201,11 @@ CommandLine* CommandLine::ForCurrentProcess() { |
return current_process_commandline_; |
} |
+// static |
+bool CommandLine::InitializedForCurrentProcess() { |
+ return !!current_process_commandline_; |
+} |
+ |
#if defined(OS_WIN) |
// static |
CommandLine CommandLine::FromString(const std::wstring& command_line) { |