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

Unified Diff: content/public/test/mock_special_storage_policy.h

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: 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/public/test/mock_special_storage_policy.h
diff --git a/webkit/browser/quota/mock_special_storage_policy.h b/content/public/test/mock_special_storage_policy.h
similarity index 90%
rename from webkit/browser/quota/mock_special_storage_policy.h
rename to content/public/test/mock_special_storage_policy.h
index 80f64bc7207ca91c22ed7d16d65876283a227c32..1003c1e7cbb0ac523e8482597055380d517937e7 100644
--- a/webkit/browser/quota/mock_special_storage_policy.h
+++ b/content/public/test/mock_special_storage_policy.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 WEBKIT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
-#define WEBKIT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
+#ifndef CONTENT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
+#define CONTENT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
#include <set>
#include <string>
@@ -11,7 +11,9 @@
#include "url/gurl.h"
#include "webkit/browser/quota/special_storage_policy.h"
-namespace quota {
+using quota::SpecialStoragePolicy;
+
+namespace content {
class MockSpecialStoragePolicy : public quota::SpecialStoragePolicy {
public:
@@ -96,6 +98,6 @@ class MockSpecialStoragePolicy : public quota::SpecialStoragePolicy {
bool all_unlimited_;
};
-} // namespace quota
+} // namespace content
-#endif // WEBKIT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
+#endif // CONTENT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_

Powered by Google App Engine
This is Rietveld 408576698