summaryrefslogtreecommitdiffstats
path: root/chrome/common/logging_chrome.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:07:15 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:07:15 +0000
commit2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c (patch)
tree78766377b2779fe9b9afbc869a97f387b9b3d082 /chrome/common/logging_chrome.h
parent936e85963a6d11c79c7ea774bc41c8729c04693f (diff)
downloadchromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.zip
chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.tar.gz
chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.tar.bz2
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
Diffstat (limited to 'chrome/common/logging_chrome.h')
-rw-r--r--chrome/common/logging_chrome.h9
1 files changed, 4 insertions, 5 deletions
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.