OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_TEST_PYTHON_UTILS_H_ |
| 6 #define NET_TEST_PYTHON_UTILS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 |
| 11 class FilePath; |
| 12 |
| 13 // This is the python path variable name. |
| 14 extern const char kPythonPathEnv[]; |
| 15 |
| 16 // Appends the dir to python path environment variable. |
| 17 void AppendToPythonPath(const FilePath& dir); |
| 18 |
| 19 // Returns the path that should be used to launch Python. |
| 20 bool GetPythonRunTime(FilePath* path) WARN_UNUSED_RESULT; |
| 21 |
| 22 #endif // NET_TEST_PYTHON_UTILS_H_ |
| 23 |
OLD | NEW |