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

Unified Diff: content/browser/quota/mock_quota_manager.h

Issue 214233005: Move mock_quota_manager and friends from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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/quota/mock_quota_manager.h
diff --git a/webkit/browser/quota/mock_quota_manager.h b/content/browser/quota/mock_quota_manager.h
similarity index 93%
rename from webkit/browser/quota/mock_quota_manager.h
rename to content/browser/quota/mock_quota_manager.h
index 1750e9400bbc1b3cb809d1e2a6c8325bb3a8bbee..535f6c5b1b7d984f6afa4efd8c1bb38b323f2a2b 100644
--- a/webkit/browser/quota/mock_quota_manager.h
+++ b/content/browser/quota/mock_quota_manager.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_QUOTA_MANAGER_H_
-#define WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
+#ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
+#define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
#include <map>
#include <set>
@@ -17,7 +17,15 @@
#include "webkit/browser/quota/quota_task.h"
#include "webkit/common/quota/quota_types.h"
-namespace quota {
+using quota::GetOriginsCallback;
+using quota::QuotaClient;
+using quota::QuotaManager;
+using quota::QuotaStatusCode;
+using quota::SpecialStoragePolicy;
+using quota::StatusCallback;
+using quota::StorageType;
+
+namespace content {
// Mocks the pieces of QuotaManager's interface.
//
@@ -141,4 +149,4 @@ class MockQuotaManager : public QuotaManager {
} // namespace quota
-#endif // WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
+#endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
« no previous file with comments | « content/browser/indexed_db/indexed_db_quota_client_unittest.cc ('k') | content/browser/quota/mock_quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698