From 2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Mon, 17 Mar 2014 23:07:15 +0000 Subject: Move CommandLine to base namespace. Fix all forward-declares and header files referencing CommandLine. This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up. TBR=sky Review URL: https://codereview.chromium.org/196413016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/logging_chrome.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'chrome/common/logging_chrome.h') diff --git a/chrome/common/logging_chrome.h b/chrome/common/logging_chrome.h index 91cd276..5fb8724 100644 --- a/chrome/common/logging_chrome.h +++ b/chrome/common/logging_chrome.h @@ -11,9 +11,8 @@ #include "base/logging.h" #include "base/time/time.h" -class CommandLine; - namespace base { +class CommandLine; class FilePath; } @@ -32,15 +31,15 @@ namespace logging { // normally appear for assertions and crashes, and makes any catchable // errors (namely assertions) available via GetSilencedErrorCount() // and GetSilencedError(). -void InitChromeLogging(const CommandLine& command_line, +void InitChromeLogging(const base::CommandLine& command_line, OldFileDeletionState delete_old_log_file); #if defined(OS_CHROMEOS) // Get the log file location. -base::FilePath GetSessionLogFile(const CommandLine& command_line); +base::FilePath GetSessionLogFile(const base::CommandLine& command_line); // Redirects chrome logging to the appropriate session log dir. -void RedirectChromeLogging(const CommandLine& command_line); +void RedirectChromeLogging(const base::CommandLine& command_line); #endif // Call when done using logging for Chrome. -- cgit v1.1