diff options
Diffstat (limited to 'content/common/content_paths.cc')
-rw-r--r-- | content/common/content_paths.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/content/common/content_paths.cc b/content/common/content_paths.cc index 2664349..4e9b32b 100644 --- a/content/common/content_paths.cc +++ b/content/common/content_paths.cc @@ -4,7 +4,6 @@ #include "content/common/content_paths.h" -#include "base/file_util.h" #include "base/path_service.h" namespace content { @@ -13,22 +12,8 @@ bool PathProvider(int key, FilePath* result) { switch (key) { case CHILD_PROCESS_EXE: return PathService::Get(base::FILE_EXE, result); - case DIR_TEST_DATA: { - FilePath cur; - if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) - return false; - cur = cur.Append(FILE_PATH_LITERAL("content")); - cur = cur.Append(FILE_PATH_LITERAL("test")); - cur = cur.Append(FILE_PATH_LITERAL("data")); - if (!file_util::PathExists(cur)) // we don't want to create this - return false; - - *result = cur; - return true; - break; - } default: - return false; + break; } return false; |