summaryrefslogtreecommitdiffstats
path: root/net/test/python_utils.h
diff options
context:
space:
mode:
authorlzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 21:49:40 +0000
committerlzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 21:49:40 +0000
commit813e9cd124841e826bd24aa2c00fe812815d7796 (patch)
tree596094802d3bfbad10ddcd176ff4a9d9cac95f34 /net/test/python_utils.h
parent630b71e9f360151fa934d4b8eab7ecf987211239 (diff)
downloadchromium_src-813e9cd124841e826bd24aa2c00fe812815d7796.zip
chromium_src-813e9cd124841e826bd24aa2c00fe812815d7796.tar.gz
chromium_src-813e9cd124841e826bd24aa2c00fe812815d7796.tar.bz2
Make sure the generated python proto buff path is right.
BUG=62415 TEST=mac trybot green with safe_browsing_tests Review URL: http://codereview.chromium.org/4677002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test/python_utils.h')
-rw-r--r--net/test/python_utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/test/python_utils.h b/net/test/python_utils.h
index 215569c..bc3bdb1 100644
--- a/net/test/python_utils.h
+++ b/net/test/python_utils.h
@@ -16,8 +16,10 @@ extern const char kPythonPathEnv[];
// Appends the dir to python path environment variable.
void AppendToPythonPath(const FilePath& dir);
+// Return the location of the compiler-generated python protobuf.
+bool GetPyProtoPath(FilePath* dir);
+
// Returns the path that should be used to launch Python.
bool GetPythonRunTime(FilePath* path) WARN_UNUSED_RESULT;
#endif // NET_TEST_PYTHON_UTILS_H_
-