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

Unified Diff: content/browser/dom_storage/dom_storage_context_impl_unittest.cc

Issue 259083002: Move mock_special_storage_policy from webkit/ to content/public/test/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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: content/browser/dom_storage/dom_storage_context_impl_unittest.cc
diff --git a/content/browser/dom_storage/dom_storage_context_impl_unittest.cc b/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
index 85b16a53b79eba665b876ea772c252b218775248..d29741f62ea42404e46fe556ccad5775427cb9b8 100644
--- a/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
+++ b/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
@@ -17,8 +17,8 @@
#include "content/public/browser/local_storage_usage_info.h"
#include "content/public/browser/session_storage_namespace.h"
#include "content/public/browser/session_storage_usage_info.h"
+#include "content/public/test/mock_special_storage_policy.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/browser/quota/mock_special_storage_policy.h"
using base::ASCIIToUTF16;
@@ -42,7 +42,7 @@ class DOMStorageContextImplTest : public testing::Test {
virtual void SetUp() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- storage_policy_ = new quota::MockSpecialStoragePolicy;
+ storage_policy_ = new MockSpecialStoragePolicy;
task_runner_ =
new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get());
context_ = new DOMStorageContextImpl(temp_dir_.path(),
@@ -69,7 +69,7 @@ class DOMStorageContextImplTest : public testing::Test {
protected:
base::MessageLoop message_loop_;
base::ScopedTempDir temp_dir_;
- scoped_refptr<quota::MockSpecialStoragePolicy> storage_policy_;
+ scoped_refptr<MockSpecialStoragePolicy> storage_policy_;
scoped_refptr<MockDOMStorageTaskRunner> task_runner_;
scoped_refptr<DOMStorageContextImpl> context_;
DISALLOW_COPY_AND_ASSIGN(DOMStorageContextImplTest);
« no previous file with comments | « content/browser/database_tracker_unittest.cc ('k') | content/browser/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698