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

Side by Side Diff: storage/browser/quota/usage_tracker_unittest.cc

Issue 2817133002: Move a couple of quota unit tests next to the files they cover. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « storage/browser/quota/quota_database_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 GetGlobalLimitedUsage(&limited_usage); 331 GetGlobalLimitedUsage(&limited_usage);
332 GetGlobalUsage(&total_usage, &unlimited_usage); 332 GetGlobalUsage(&total_usage, &unlimited_usage);
333 EXPECT_EQ(1 + 16, limited_usage); 333 EXPECT_EQ(1 + 16, limited_usage);
334 EXPECT_EQ(1 + 2 + 16 + 32, total_usage); 334 EXPECT_EQ(1 + 2 + 16 + 32, total_usage);
335 EXPECT_EQ(2 + 32, unlimited_usage); 335 EXPECT_EQ(2 + 32, unlimited_usage);
336 } 336 }
337 337
338 338
339 } // namespace content 339 } // namespace content
OLDNEW
« no previous file with comments | « storage/browser/quota/quota_database_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698