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

Side by Side Diff: content/browser/quota/quota_reservation_manager_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 <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/file.h" 12 #include "base/files/file.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "storage/browser/fileapi/quota/open_file_handle.h" 20 #include "storage/browser/fileapi/quota/open_file_handle.h"
21 #include "storage/browser/fileapi/quota/quota_reservation.h" 21 #include "storage/browser/fileapi/quota/quota_reservation.h"
22 #include "storage/browser/fileapi/quota/quota_reservation_manager.h" 22 #include "storage/browser/fileapi/quota/quota_reservation_manager.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 24
25 using storage::kFileSystemTypeTemporary; 25 using storage::kFileSystemTypeTemporary;
26 using storage::OpenFileHandle; 26 using storage::OpenFileHandle;
27 using storage::QuotaReservation; 27 using storage::QuotaReservation;
28 using storage::QuotaReservationManager; 28 using storage::QuotaReservationManager;
29 29
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 EXPECT_EQ(kInitialFileSize + 10, GetFileSize(file_path())); 364 EXPECT_EQ(kInitialFileSize + 10, GetFileSize(file_path()));
365 EXPECT_EQ(kInitialFileSize + 15 + 20, fake_backend()->on_memory_usage()); 365 EXPECT_EQ(kInitialFileSize + 15 + 20, fake_backend()->on_memory_usage());
366 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_disk_usage()); 366 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_disk_usage());
367 367
368 reservation2 = NULL; 368 reservation2 = NULL;
369 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_memory_usage()); 369 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_memory_usage());
370 } 370 }
371 371
372 } // namespace content 372 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/quota/quota_manager_unittest.cc ('k') | content/browser/quota/storage_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698