summaryrefslogtreecommitdiffstats
path: root/extensions/browser/value_store
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-02 05:55:17 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-02 05:55:17 +0000
commitb3c3fde3c66f9502e97f0c30c91ab4304c40c5b8 (patch)
tree26c7cce1e739adfe72dad1d73e8b88d79046d20b /extensions/browser/value_store
parent9d19aaea6d0198583357cbb8f49d6fb77991371d (diff)
downloadchromium_src-b3c3fde3c66f9502e97f0c30c91ab4304c40c5b8.zip
chromium_src-b3c3fde3c66f9502e97f0c30c91ab4304c40c5b8.tar.gz
chromium_src-b3c3fde3c66f9502e97f0c30c91ab4304c40c5b8.tar.bz2
Move tests from Chrome's unit_tests to extensions_unittests
Part of extensions module componentization. * Add a NotificationService for EventRouterTest * Move the test data for ValueStoreFrontendTest * The rest can move unchanged BUG=397164 TEST=unit_tests, extensions_unittests Review URL: https://codereview.chromium.org/435703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/value_store')
-rw-r--r--extensions/browser/value_store/value_store_frontend_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/browser/value_store/value_store_frontend_unittest.cc b/extensions/browser/value_store/value_store_frontend_unittest.cc
index f2e3a46..e7a81a6 100644
--- a/extensions/browser/value_store/value_store_frontend_unittest.cc
+++ b/extensions/browser/value_store/value_store_frontend_unittest.cc
@@ -7,9 +7,9 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
-#include "chrome/common/chrome_paths.h"
#include "content/public/test/test_browser_thread.h"
#include "extensions/browser/value_store/value_store_frontend.h"
+#include "extensions/common/extension_paths.h"
#include "testing/gtest/include/gtest/gtest.h"
using content::BrowserThread;
@@ -25,7 +25,7 @@ class ValueStoreFrontendTest : public testing::Test {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
base::FilePath test_data_dir;
- ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir));
+ ASSERT_TRUE(PathService::Get(extensions::DIR_TEST_DATA, &test_data_dir));
base::FilePath src_db(test_data_dir.AppendASCII("value_store_db"));
db_path_ = temp_dir_.path().AppendASCII("temp_db");
base::CopyDirectory(src_db, db_path_, true);