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

Unified Diff: mojo/system/embedder/platform_channel_pair.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 | « mojo/shell/child_process.h ('k') | net/test/python_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/embedder/platform_channel_pair.h
diff --git a/mojo/system/embedder/platform_channel_pair.h b/mojo/system/embedder/platform_channel_pair.h
index 411a18e7522030e1361e9db4e2cc4f56e242cbc3..39c45a4bcfad34ad3839a2274a86d3af8d722cd2 100644
--- a/mojo/system/embedder/platform_channel_pair.h
+++ b/mojo/system/embedder/platform_channel_pair.h
@@ -12,7 +12,9 @@
#include "mojo/system/embedder/scoped_platform_handle.h"
#include "mojo/system/system_impl_export.h"
+namespace base {
class CommandLine;
+}
namespace mojo {
namespace embedder {
@@ -58,14 +60,14 @@ class MOJO_SYSTEM_IMPL_EXPORT PlatformChannelPair {
// the provided data), to create a client handle connected to the server
// handle (in the parent process).
static ScopedPlatformHandle PassClientHandleFromParentProcess(
- const CommandLine& command_line);
+ const base::CommandLine& command_line);
// Prepares to pass the client channel to a new child process, to be launched
// using |LaunchProcess()| (from base/launch.h). Modifies |*command_line| and
// |*handle_passing_info| as needed.
// Note: For Windows, this method only works on Vista and later.
void PrepareToPassClientHandleToChildProcess(
- CommandLine* command_line,
+ base::CommandLine* command_line,
HandlePassingInformation* handle_passing_info) const;
// To be called once the child process has been successfully launched, to do
« no previous file with comments | « mojo/shell/child_process.h ('k') | net/test/python_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698