Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2165)

Unified Diff: base/command_line.h

Issue 3162047: FBTF: Move some heavy, repeatedly emitted symbols to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac fixes Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/gfx/gl/gl_implementation.cc ('k') | base/command_line.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/command_line.h
diff --git a/base/command_line.h b/base/command_line.h
index e4ac08b2b204b50d01f0e03b11b7f759dd477add..ce10d651ed3084b5ca6f309c500b9648cefe3640 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -24,7 +24,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/logging.h"
class FilePath;
class InProcessBrowserTest;
@@ -83,10 +82,7 @@ class CommandLine {
// Get the singleton CommandLine representing the current process's
// command line. Note: returned value is mutable, but not thread safe;
// only mutate if you know what you're doing!
- static CommandLine* ForCurrentProcess() {
- DCHECK(current_process_commandline_);
- return current_process_commandline_;
- }
+ static CommandLine* ForCurrentProcess();
// Returns true if this command line contains the given switch.
// (Switch names are case-insensitive.)
@@ -180,10 +176,7 @@ class CommandLine {
CommandLine();
// Used by InProcessBrowserTest.
- static CommandLine* ForCurrentProcessMutable() {
- DCHECK(current_process_commandline_);
- return current_process_commandline_;
- }
+ static CommandLine* ForCurrentProcessMutable();
// The singleton CommandLine instance representing the current process's
// command line.
« no previous file with comments | « app/gfx/gl/gl_implementation.cc ('k') | base/command_line.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698