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

Unified Diff: extensions/browser/api/storage/settings_test_util.h

Issue 189263013: Move extensions storage API implementation to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (move_storage) Created 6 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
Index: extensions/browser/api/storage/settings_test_util.h
diff --git a/chrome/browser/extensions/api/storage/settings_test_util.h b/extensions/browser/api/storage/settings_test_util.h
similarity index 84%
rename from chrome/browser/extensions/api/storage/settings_test_util.h
rename to extensions/browser/api/storage/settings_test_util.h
index d1558adbf1e15b826d3b778837e84d81ac71b984..d08d9f7c5ac6affa4f552080a884e405b6cbc2d5 100644
--- a/chrome/browser/extensions/api/storage/settings_test_util.h
+++ b/extensions/browser/api/storage/settings_test_util.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_TEST_UTIL_H_
-#define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_TEST_UTIL_H_
+#ifndef EXTENSIONS_BROWSER_API_STORAGE_SETTINGS_TEST_UTIL_H_
+#define EXTENSIONS_BROWSER_API_STORAGE_SETTINGS_TEST_UTIL_H_
#include <set>
#include <string>
@@ -12,12 +12,10 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/extensions/api/storage/settings_storage_factory.h"
-#include "chrome/browser/extensions/extension_service.h"
-#include "chrome/browser/extensions/test_extension_service.h"
#include "chrome/browser/extensions/test_extension_system.h"
#include "chrome/test/base/testing_profile.h"
#include "extensions/browser/api/storage/settings_namespace.h"
+#include "extensions/browser/api/storage/settings_storage_factory.h"
#include "extensions/browser/event_router.h"
#include "extensions/common/extension.h"
@@ -58,16 +56,14 @@ class MockExtensionSystem : public TestExtensionSystem {
virtual ~MockExtensionSystem();
virtual EventRouter* event_router() OVERRIDE;
- virtual ExtensionService* extension_service() OVERRIDE;
private:
scoped_ptr<EventRouter> event_router_;
- TestExtensionService extension_service_;
DISALLOW_COPY_AND_ASSIGN(MockExtensionSystem);
};
-// A Profile which returns an ExtensionService with enough functionality for
+// A Profile which returns an ExtensionSystem with enough functionality for
// the tests.
class MockProfile : public TestingProfile {
public:
@@ -104,4 +100,4 @@ class ScopedSettingsStorageFactory : public SettingsStorageFactory {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_TEST_UTIL_H_
+#endif // EXTENSIONS_BROWSER_API_STORAGE_SETTINGS_TEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698