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

Side by Side Diff: content/browser/fileapi/copy_or_move_operation_delegate_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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <map> 7 #include <map>
8 #include <queue> 8 #include <queue>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/stl_util.h" 18 #include "base/stl_util.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "content/browser/quota/mock_quota_manager.h" 20 #include "content/browser/quota/mock_quota_manager.h"
21 #include "content/browser/quota/mock_quota_manager_proxy.h" 21 #include "content/browser/quota/mock_quota_manager_proxy.h"
22 #include "content/public/test/async_file_test_helper.h" 22 #include "content/public/test/async_file_test_helper.h"
23 #include "content/public/test/test_file_system_backend.h" 23 #include "content/public/test/test_file_system_backend.h"
24 #include "content/public/test/test_file_system_context.h" 24 #include "content/public/test/test_file_system_context.h"
25 #include "content/test/fileapi_test_file_set.h" 25 #include "content/test/fileapi_test_file_set.h"
26 #include "storage/browser/fileapi/copy_or_move_file_validator.h" 26 #include "storage/browser/fileapi/copy_or_move_file_validator.h"
27 #include "storage/browser/fileapi/copy_or_move_operation_delegate.h" 27 #include "storage/browser/fileapi/copy_or_move_operation_delegate.h"
28 #include "storage/browser/fileapi/file_stream_reader.h" 28 #include "storage/browser/fileapi/file_stream_reader.h"
29 #include "storage/browser/fileapi/file_stream_writer.h" 29 #include "storage/browser/fileapi/file_stream_writer.h"
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 868
869 base::File::Error error = base::File::FILE_ERROR_FAILED; 869 base::File::Error error = base::File::FILE_ERROR_FAILED;
870 base::RunLoop run_loop; 870 base::RunLoop run_loop;
871 helper.Run(base::Bind(&AssignAndQuit, &run_loop, &error)); 871 helper.Run(base::Bind(&AssignAndQuit, &run_loop, &error));
872 run_loop.Run(); 872 run_loop.Run();
873 873
874 EXPECT_EQ(base::File::FILE_ERROR_ABORT, error); 874 EXPECT_EQ(base::File::FILE_ERROR_ABORT, error);
875 } 875 }
876 876
877 } // namespace content 877 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698