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

Unified Diff: chrome/common/chrome_paths.cc

Issue 9820005: Move PathService's DIR_LAYOUT_TESTS from chrome to content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove indexed_db_uitest changes 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/common/chrome_paths.h ('k') | chrome/test/base/layout_test_http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_paths.cc
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index 46f8948bdff8187fba08f9e58b4f08538cc0e9e7..1f3eb3a265dc592b111a8dfd27b8c81bc8c29fc5 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -334,19 +334,6 @@ bool PathProvider(int key, FilePath* result) {
if (!file_util::PathExists(cur)) // We don't want to create this
return false;
break;
- case chrome::DIR_LAYOUT_TESTS:
- if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur))
- return false;
- cur = cur.Append(FILE_PATH_LITERAL("third_party"));
- cur = cur.Append(FILE_PATH_LITERAL("WebKit"));
- cur = cur.Append(FILE_PATH_LITERAL("LayoutTests"));
- if (file_util::DirectoryExists(cur))
- break;
- if (!PathService::Get(chrome::DIR_TEST_DATA, &cur))
- return false;
- cur = cur.Append(FILE_PATH_LITERAL("layout_tests"));
- cur = cur.Append(FILE_PATH_LITERAL("LayoutTests"));
- break;
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
case chrome::DIR_POLICY_FILES: {
#if defined(GOOGLE_CHROME_BUILD)
« no previous file with comments | « chrome/common/chrome_paths.h ('k') | chrome/test/base/layout_test_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698