Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / net / test / python_utils.h
blobca06021b7291b7cda6b151f71013aace3cfb35f3
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.
5 #ifndef NET_TEST_PYTHON_UTILS_H_
6 #define NET_TEST_PYTHON_UTILS_H_
8 #include "base/compiler_specific.h"
10 namespace base {
11 class CommandLine;
12 class FilePath;
15 // This is the python path variable name.
16 extern const char kPythonPathEnv[];
18 // Appends the dir to python path environment variable.
19 void AppendToPythonPath(const base::FilePath& dir);
21 // Return the location of the compiler-generated python protobuf.
22 bool GetPyProtoPath(base::FilePath* dir);
24 // Returns the command that should be used to launch Python.
25 bool GetPythonCommand(base::CommandLine* python_cmd) WARN_UNUSED_RESULT;
27 #endif // NET_TEST_PYTHON_UTILS_H_