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

Unified Diff: webkit/fileapi/file_system_quota_client_unittest.cc

Issue 7533013: Quota: Add quota::StorageType to the GetOriginsCallback definition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing onto today's ToT. Created 9 years, 5 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
« no previous file with comments | « webkit/fileapi/file_system_quota_client.cc ('k') | webkit/quota/mock_quota_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_quota_client_unittest.cc
diff --git a/webkit/fileapi/file_system_quota_client_unittest.cc b/webkit/fileapi/file_system_quota_client_unittest.cc
index cbc3d7544e2e6f72f42a33472293c587210c89f9..2254f51ac1283fe576fdfe756e24715e0a527359 100644
--- a/webkit/fileapi/file_system_quota_client_unittest.cc
+++ b/webkit/fileapi/file_system_quota_client_unittest.cc
@@ -246,8 +246,10 @@ class FileSystemQuotaClientTest : public testing::Test {
usage_ = usage;
}
- void OnGetOrigins(const std::set<GURL>& origins) {
+ void OnGetOrigins(const std::set<GURL>& origins,
+ quota::StorageType type) {
origins_ = origins;
+ type_ = type;
}
void OnGetAdditionalUsage(int64 usage_unused) {
@@ -264,6 +266,7 @@ class FileSystemQuotaClientTest : public testing::Test {
int64 usage_;
int additional_callback_count_;
std::set<GURL> origins_;
+ quota::StorageType type_;
quota::QuotaStatusCode deletion_status_;
DISALLOW_COPY_AND_ASSIGN(FileSystemQuotaClientTest);
« no previous file with comments | « webkit/fileapi/file_system_quota_client.cc ('k') | webkit/quota/mock_quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698