diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:07:15 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:07:15 +0000 |
commit | 2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c (patch) | |
tree | 78766377b2779fe9b9afbc869a97f387b9b3d082 /mojo/shell | |
parent | 936e85963a6d11c79c7ea774bc41c8729c04693f (diff) | |
download | chromium_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 'mojo/shell')
-rw-r--r-- | mojo/shell/child_process.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mojo/shell/child_process.h b/mojo/shell/child_process.h index e5ce65a..0e5ba0b 100644 --- a/mojo/shell/child_process.h +++ b/mojo/shell/child_process.h @@ -9,7 +9,9 @@ #include "base/memory/scoped_ptr.h" #include "mojo/system/embedder/scoped_platform_handle.h" +namespace base { class CommandLine; +} namespace mojo { namespace shell { @@ -26,7 +28,7 @@ class ChildProcess { // Returns null if the command line doesn't indicate that this is a child // process. |main()| should call this, and if it returns non-null it should // call |Run()| inside a main message loop. - static scoped_ptr<ChildProcess> Create(const CommandLine& command_line); + static scoped_ptr<ChildProcess> Create(const base::CommandLine& command_line); void Run(); |