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

Unified Diff: chrome/test/base/layout_test_http_server.cc

Issue 9802025: Rewrite HTML5 workers ui_tests to browser_tests. Compared to ui_tests, browser_tests are faster, le… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to revision with blank line at end of worker-utils.js to see if this patches on bots Created 8 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 | « chrome/test/base/layout_test_http_server.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/layout_test_http_server.cc
===================================================================
--- chrome/test/base/layout_test_http_server.cc (revision 129509)
+++ chrome/test/base/layout_test_http_server.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/process_util.h"
#include "base/string_number_conversions.h"
#include "content/public/common/content_paths.h"
+#include "net/test/python_utils.h"
#if defined(OS_WIN)
#include "base/win/windows_version.h"
@@ -22,7 +23,10 @@
if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_path))
return false;
- cmd_line->SetProgram(FilePath(FILE_PATH_LITERAL("python")));
+ FilePath python_runtime;
+ if (!GetPythonRunTime(&python_runtime))
+ return false;
+ cmd_line->SetProgram(python_runtime);
FilePath script_path(src_path);
script_path = script_path.AppendASCII("third_party");
« no previous file with comments | « chrome/test/base/layout_test_http_server.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698