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

Unified Diff: webkit/quota/usage_tracker_unittest.cc

Issue 15695003: [Quota][Clean up] Drop StorageType in GlobalUsageCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop unrelated change Created 7 years, 7 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
« webkit/quota/quota_manager.cc ('K') | « webkit/quota/usage_tracker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/usage_tracker_unittest.cc
diff --git a/webkit/quota/usage_tracker_unittest.cc b/webkit/quota/usage_tracker_unittest.cc
index 3a236bc2fb47ac16e76484ea930edeb3d96e3aa7..cc38280564dd031cb18f23ce3bc2bbe4d1aecf9b 100644
--- a/webkit/quota/usage_tracker_unittest.cc
+++ b/webkit/quota/usage_tracker_unittest.cc
@@ -14,15 +14,12 @@ namespace quota {
namespace {
void DidGetGlobalUsage(bool* done,
- StorageType* type_out,
int64* usage_out,
int64* unlimited_usage_out,
- StorageType type,
int64 usage,
int64 unlimited_usage) {
EXPECT_FALSE(*done);
*done = true;
- *type_out = type;
*usage_out = usage;
*unlimited_usage_out = unlimited_usage;
}
@@ -144,7 +141,7 @@ class UsageTrackerTest : public testing::Test {
StorageType type = kStorageTypeUnknown;
usage_tracker_.GetGlobalUsage(base::Bind(
&DidGetGlobalUsage,
- &done, &type, usage, unlimited_usage));
+ &done, usage, unlimited_usage));
message_loop_.RunUntilIdle();
EXPECT_TRUE(done);
« webkit/quota/quota_manager.cc ('K') | « webkit/quota/usage_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698