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

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

Issue 345673002: Fully qualify all references to fileapi::FileSystemType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FileSystemType instances I missed Created 6 years, 6 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 ee09b8cb7d9ef8ac2f5b784a8b21ceafb7314a54..84caddcd0ed967cb1f5b582a36bf0ad56f8f2887 100644
--- a/content/browser/quota/quota_reservation_manager_unittest.cc
+++ b/content/browser/quota/quota_reservation_manager_unittest.cc
@@ -15,7 +15,6 @@
#include "webkit/browser/fileapi/quota/open_file_handle.h"
#include "webkit/browser/fileapi/quota/quota_reservation.h"
-using fileapi::FileSystemType;
using fileapi::kFileSystemTypeTemporary;
using fileapi::OpenFileHandle;
using fileapi::QuotaReservation;
@@ -26,7 +25,7 @@ namespace content {
namespace {
const char kOrigin[] = "http://example.com";
-const FileSystemType kType = kFileSystemTypeTemporary;
+const fileapi::FileSystemType kType = kFileSystemTypeTemporary;
const int64 kInitialFileSize = 1;
typedef QuotaReservationManager::ReserveQuotaCallback ReserveQuotaCallback;
@@ -51,7 +50,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
virtual ~FakeBackend() {}
virtual void ReserveQuota(const GURL& origin,
- FileSystemType type,
+ fileapi::FileSystemType type,
int64 delta,
const ReserveQuotaCallback& callback) OVERRIDE {
EXPECT_EQ(GURL(kOrigin), origin);
@@ -63,7 +62,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void ReleaseReservedQuota(const GURL& origin,
- FileSystemType type,
+ fileapi::FileSystemType type,
int64 size) OVERRIDE {
EXPECT_LE(0, size);
EXPECT_EQ(GURL(kOrigin), origin);
@@ -72,7 +71,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void CommitQuotaUsage(const GURL& origin,
- FileSystemType type,
+ fileapi::FileSystemType type,
int64 delta) OVERRIDE {
EXPECT_EQ(GURL(kOrigin), origin);
EXPECT_EQ(kType, type);
@@ -81,9 +80,9 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void IncrementDirtyCount(const GURL& origin,
- FileSystemType type) OVERRIDE {}
+ fileapi::FileSystemType type) OVERRIDE {}
virtual void DecrementDirtyCount(const GURL& origin,
- FileSystemType type) OVERRIDE {}
+ fileapi::FileSystemType type) OVERRIDE {}
int64 on_memory_usage() { return on_memory_usage_; }
int64 on_disk_usage() { return on_disk_usage_; }

Powered by Google App Engine
This is Rietveld 408576698