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

Side by Side Diff: net/test/python_utils.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_TEST_PYTHON_UTILS_H_ 5 #ifndef NET_TEST_PYTHON_UTILS_H_
6 #define NET_TEST_PYTHON_UTILS_H_ 6 #define NET_TEST_PYTHON_UTILS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 9
10 namespace base {
10 class CommandLine; 11 class CommandLine;
11
12 namespace base {
13 class FilePath; 12 class FilePath;
14 } 13 }
15 14
16 // This is the python path variable name. 15 // This is the python path variable name.
17 extern const char kPythonPathEnv[]; 16 extern const char kPythonPathEnv[];
18 17
19 // Appends the dir to python path environment variable. 18 // Appends the dir to python path environment variable.
20 void AppendToPythonPath(const base::FilePath& dir); 19 void AppendToPythonPath(const base::FilePath& dir);
21 20
22 // Return the location of the compiler-generated python protobuf. 21 // Return the location of the compiler-generated python protobuf.
23 bool GetPyProtoPath(base::FilePath* dir); 22 bool GetPyProtoPath(base::FilePath* dir);
24 23
25 // Returns the command that should be used to launch Python. 24 // Returns the command that should be used to launch Python.
26 bool GetPythonCommand(CommandLine* python_cmd) WARN_UNUSED_RESULT; 25 bool GetPythonCommand(base::CommandLine* python_cmd) WARN_UNUSED_RESULT;
27 26
28 #endif // NET_TEST_PYTHON_UTILS_H_ 27 #endif // NET_TEST_PYTHON_UTILS_H_
OLDNEW
« no previous file with comments | « mojo/system/embedder/platform_channel_pair.h ('k') | net/test/spawned_test_server/local_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698