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

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

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 unified diff | Download patch
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"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "content/public/test/mock_special_storage_policy.h" 13 #include "content/public/test/mock_special_storage_policy.h"
14 #include "net/base/url_util.h" 14 #include "net/base/url_util.h"
15 #include "storage/browser/quota/usage_tracker.h" 15 #include "storage/browser/quota/usage_tracker.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 using storage::kQuotaStatusOk; 18 using storage::kQuotaStatusOk;
19 using storage::kStorageTypeTemporary; 19 using storage::kStorageTypeTemporary;
20 using storage::QuotaClient; 20 using storage::QuotaClient;
21 using storage::QuotaClientList; 21 using storage::QuotaClientList;
22 using storage::SpecialStoragePolicy; 22 using storage::SpecialStoragePolicy;
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 GetGlobalLimitedUsage(&limited_usage); 330 GetGlobalLimitedUsage(&limited_usage);
331 GetGlobalUsage(&total_usage, &unlimited_usage); 331 GetGlobalUsage(&total_usage, &unlimited_usage);
332 EXPECT_EQ(1 + 16, limited_usage); 332 EXPECT_EQ(1 + 16, limited_usage);
333 EXPECT_EQ(1 + 2 + 16 + 32, total_usage); 333 EXPECT_EQ(1 + 2 + 16 + 32, total_usage);
334 EXPECT_EQ(2 + 32, unlimited_usage); 334 EXPECT_EQ(2 + 32, unlimited_usage);
335 } 335 }
336 336
337 337
338 } // namespace content 338 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/quota/storage_monitor_unittest.cc ('k') | content/browser/renderer_host/clipboard_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698