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

Unified Diff: tools/gn/setup.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « tools/android/common/daemon.h ('k') | tools/gn/trace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/setup.h
diff --git a/tools/gn/setup.h b/tools/gn/setup.h
index 4d8d29baa16e330b731615d45b83b67ad8d3dfd6..0a5c3427730419300d0747587c69f3143c838ad2 100644
--- a/tools/gn/setup.h
+++ b/tools/gn/setup.h
@@ -20,10 +20,13 @@
#include "tools/gn/token.h"
#include "tools/gn/toolchain.h"
-class CommandLine;
class InputFile;
class ParseNode;
+namespace base {
+class CommandLine;
+}
+
extern const char kDotfile_Help[];
// Base class for code shared between Setup and DependentSetup.
@@ -95,10 +98,10 @@ class Setup : public CommonSetup {
private:
// Fills build arguments. Returns true on success.
- bool FillArguments(const CommandLine& cmdline);
+ bool FillArguments(const base::CommandLine& cmdline);
// Fills the root directory into the settings. Returns true on success.
- bool FillSourceDir(const CommandLine& cmdline);
+ bool FillSourceDir(const base::CommandLine& cmdline);
// Fills the build directory given the value the user has specified.
// Must happen after FillSourceDir so we can resolve source-relative
@@ -112,7 +115,7 @@ class Setup : public CommonSetup {
// Run config file.
bool RunConfigFile();
- bool FillOtherConfig(const CommandLine& cmdline);
+ bool FillOtherConfig(const base::CommandLine& cmdline);
Scheduler scheduler_;
« no previous file with comments | « tools/android/common/daemon.h ('k') | tools/gn/trace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698