diff options
Diffstat (limited to 'chrome/browser/extensions/sandboxed_unpacker_unittest.cc')
-rw-r--r-- | chrome/browser/extensions/sandboxed_unpacker_unittest.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc index 8b70ccf..4d46e7c 100644 --- a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc +++ b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc @@ -16,6 +16,7 @@ #include "content/public/test/test_utils.h" #include "extensions/common/constants.h" #include "extensions/common/extension.h" +#include "extensions/common/extension_paths.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/include/core/SkBitmap.h" @@ -75,10 +76,8 @@ class SandboxedUnpackerTest : public testing::Test { void SetupUnpacker(const std::string& crx_name) { base::FilePath original_path; - ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &original_path)); - original_path = original_path.AppendASCII("extensions") - .AppendASCII("unpacker") - .AppendASCII(crx_name); + ASSERT_TRUE(PathService::Get(extensions::DIR_TEST_DATA, &original_path)); + original_path = original_path.AppendASCII("unpacker").AppendASCII(crx_name); ASSERT_TRUE(base::PathExists(original_path)) << original_path.value(); sandboxed_unpacker_ = new SandboxedUnpacker( |