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

Side by Side Diff: content/browser/renderer_host/pepper/quota_reservation_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/browser/renderer_host/pepper/quota_reservation.h" 5 #include "content/browser/renderer_host/pepper/quota_reservation.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/files/file.h" 13 #include "base/files/file.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/files/scoped_temp_dir.h" 15 #include "base/files/scoped_temp_dir.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/run_loop.h" 18 #include "base/run_loop.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
21 #include "storage/browser/fileapi/quota/quota_reservation.h" 21 #include "storage/browser/fileapi/quota/quota_reservation.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using storage::QuotaReservationManager; 24 using storage::QuotaReservationManager;
25 25
26 namespace content { 26 namespace content {
27 27
28 namespace { 28 namespace {
29 29
30 const char kOrigin[] = "http://example.com"; 30 const char kOrigin[] = "http://example.com";
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 EXPECT_EQ(amount, reserved_quota); 243 EXPECT_EQ(amount, reserved_quota);
244 EXPECT_EQ(2U, file_growths.size()); 244 EXPECT_EQ(2U, file_growths.size());
245 EXPECT_EQ(file1_size, file_growths[kFile1ID].max_written_offset); 245 EXPECT_EQ(file1_size, file_growths[kFile1ID].max_written_offset);
246 EXPECT_EQ(file3_size, file_growths[kFile3ID].max_written_offset); 246 EXPECT_EQ(file3_size, file_growths[kFile3ID].max_written_offset);
247 247
248 test->CloseFile(kFile1ID, ppapi::FileGrowth(file1_size, 0)); 248 test->CloseFile(kFile1ID, ppapi::FileGrowth(file1_size, 0));
249 test->CloseFile(kFile3ID, ppapi::FileGrowth(file3_size, 0)); 249 test->CloseFile(kFile3ID, ppapi::FileGrowth(file3_size, 0));
250 } 250 }
251 251
252 } // namespace content 252 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_test_utils.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698