summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 08:38:18 +0000
committerrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 08:38:18 +0000
commitf484f8d50093f7f4821cd7951a05e6ef04580829 (patch)
treeb2362a8753bda92aa6aa1158117cfb978ac059ac /extensions
parent869365302661dbf642e6be8e8265862496dbae5c (diff)
downloadchromium_src-f484f8d50093f7f4821cd7951a05e6ef04580829.zip
chromium_src-f484f8d50093f7f4821cd7951a05e6ef04580829.tar.gz
chromium_src-f484f8d50093f7f4821cd7951a05e6ef04580829.tar.bz2
Move ExtensionServiceTestBase into its own header/cc file
This is the first step in refactoring the (overly-gigantic) extension_service_unittest.cc BUG=381251 TBR=atwilson@chromium.org (c/b/background/) TBR=bauerb@chromium.org (c/b/managed_mode/) TBR=battre@chromium.org (c/b/profile_resetter/) TBR=pkotwicz@chromium.org (c/b/themes) TBR=koz@chromium.org (c/b/ui/app_list) All TBRs are for simple mechanical changes (primarily namespace move). Review URL: https://codereview.chromium.org/318863008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r--extensions/DEPS3
-rw-r--r--extensions/browser/lazy_background_task_queue_unittest.cc6
2 files changed, 6 insertions, 3 deletions
diff --git a/extensions/DEPS b/extensions/DEPS
index d762dc4..e3000b6 100644
--- a/extensions/DEPS
+++ b/extensions/DEPS
@@ -28,7 +28,8 @@ specific_include_rules = {
"+chrome/browser/extensions/extension_api_unittest.h",
"+chrome/browser/extensions/extension_apitest.h",
"+chrome/browser/extensions/extension_function_test_utils.h",
- "+chrome/browser/extensions/extension_service_unittest.h",
+ "+chrome/browser/extensions/extension_service.h",
+ "+chrome/browser/extensions/extension_service_test_base.h",
"+chrome/browser/extensions/test_extension_dir.h",
"+chrome/browser/extensions/test_extension_system.h",
"+chrome/browser/ui/browser.h",
diff --git a/extensions/browser/lazy_background_task_queue_unittest.cc b/extensions/browser/lazy_background_task_queue_unittest.cc
index 939d74b..0a991b4 100644
--- a/extensions/browser/lazy_background_task_queue_unittest.cc
+++ b/extensions/browser/lazy_background_task_queue_unittest.cc
@@ -6,7 +6,8 @@
#include "base/bind.h"
#include "base/command_line.h"
-#include "chrome/browser/extensions/extension_service_unittest.h"
+#include "chrome/browser/extensions/extension_service.h"
+#include "chrome/browser/extensions/extension_service_test_base.h"
#include "chrome/browser/extensions/test_extension_system.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread_bundle.h"
@@ -43,7 +44,8 @@ class TestProcessManager : public ProcessManager {
// Derives from ExtensionServiceTestBase because ExtensionService is difficult
// to initialize alone.
-class LazyBackgroundTaskQueueTest : public ExtensionServiceTestBase {
+class LazyBackgroundTaskQueueTest
+ : public extensions::ExtensionServiceTestBase {
public:
LazyBackgroundTaskQueueTest() : task_run_count_(0) {}
virtual ~LazyBackgroundTaskQueueTest() {}