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

Unified Diff: content/browser/quota/quota_reservation_manager_unittest.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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/quota_reservation_manager_unittest.cc
diff --git a/content/browser/quota/quota_reservation_manager_unittest.cc b/content/browser/quota/quota_reservation_manager_unittest.cc
index 84caddcd0ed967cb1f5b582a36bf0ad56f8f2887..fa5dd1a25e5979fee4e460ad4b149fbddac64723 100644
--- a/content/browser/quota/quota_reservation_manager_unittest.cc
+++ b/content/browser/quota/quota_reservation_manager_unittest.cc
@@ -15,17 +15,17 @@
#include "webkit/browser/fileapi/quota/open_file_handle.h"
#include "webkit/browser/fileapi/quota/quota_reservation.h"
-using fileapi::kFileSystemTypeTemporary;
-using fileapi::OpenFileHandle;
-using fileapi::QuotaReservation;
-using fileapi::QuotaReservationManager;
+using storage::kFileSystemTypeTemporary;
+using storage::OpenFileHandle;
+using storage::QuotaReservation;
+using storage::QuotaReservationManager;
namespace content {
namespace {
const char kOrigin[] = "http://example.com";
-const fileapi::FileSystemType kType = kFileSystemTypeTemporary;
+const storage::FileSystemType kType = kFileSystemTypeTemporary;
const int64 kInitialFileSize = 1;
typedef QuotaReservationManager::ReserveQuotaCallback ReserveQuotaCallback;
@@ -50,7 +50,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
virtual ~FakeBackend() {}
virtual void ReserveQuota(const GURL& origin,
- fileapi::FileSystemType type,
+ storage::FileSystemType type,
int64 delta,
const ReserveQuotaCallback& callback) OVERRIDE {
EXPECT_EQ(GURL(kOrigin), origin);
@@ -62,7 +62,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void ReleaseReservedQuota(const GURL& origin,
- fileapi::FileSystemType type,
+ storage::FileSystemType type,
int64 size) OVERRIDE {
EXPECT_LE(0, size);
EXPECT_EQ(GURL(kOrigin), origin);
@@ -71,7 +71,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void CommitQuotaUsage(const GURL& origin,
- fileapi::FileSystemType type,
+ storage::FileSystemType type,
int64 delta) OVERRIDE {
EXPECT_EQ(GURL(kOrigin), origin);
EXPECT_EQ(kType, type);
@@ -80,9 +80,9 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void IncrementDirtyCount(const GURL& origin,
- fileapi::FileSystemType type) OVERRIDE {}
+ storage::FileSystemType type) OVERRIDE {}
virtual void DecrementDirtyCount(const GURL& origin,
- fileapi::FileSystemType type) OVERRIDE {}
+ storage::FileSystemType type) OVERRIDE {}
int64 on_memory_usage() { return on_memory_usage_; }
int64 on_disk_usage() { return on_disk_usage_; }
« no previous file with comments | « content/browser/quota/quota_manager_unittest.cc ('k') | content/browser/quota/quota_temporary_storage_evictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698