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

Side by Side Diff: chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 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 "chrome/browser/sync_file_system/local/syncable_file_operation_runner.h " 5 #include "chrome/browser/sync_file_system/local/syncable_file_operation_runner.h "
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
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/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/run_loop.h" 18 #include "base/run_loop.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" 20 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h"
21 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" 21 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h"
22 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" 22 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
23 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h" 23 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
24 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" 24 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h"
25 #include "chrome/browser/sync_file_system/local/syncable_file_system_operation.h " 25 #include "chrome/browser/sync_file_system/local/syncable_file_system_operation.h "
26 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" 26 #include "chrome/browser/sync_file_system/syncable_file_system_util.h"
27 #include "content/public/test/mock_blob_url_request_context.h" 27 #include "content/public/test/mock_blob_url_request_context.h"
28 #include "content/public/test/test_browser_thread_bundle.h" 28 #include "content/public/test/test_browser_thread_bundle.h"
29 #include "storage/browser/fileapi/file_system_context.h" 29 #include "storage/browser/fileapi/file_system_context.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 storage::FileSystemOperationRunner::OperationID id = 408 storage::FileSystemOperationRunner::OperationID id =
409 file_system_.operation_runner()->Truncate( 409 file_system_.operation_runner()->Truncate(
410 URL(kFile), 10, ExpectStatus(FROM_HERE, File::FILE_OK)); 410 URL(kFile), 10, ExpectStatus(FROM_HERE, File::FILE_OK));
411 file_system_.operation_runner()->Cancel( 411 file_system_.operation_runner()->Cancel(
412 id, ExpectStatus(FROM_HERE, File::FILE_ERROR_INVALID_OPERATION)); 412 id, ExpectStatus(FROM_HERE, File::FILE_ERROR_INVALID_OPERATION));
413 base::RunLoop().Run(); 413 base::RunLoop().Run();
414 EXPECT_EQ(2, callback_count_); 414 EXPECT_EQ(2, callback_count_);
415 } 415 }
416 416
417 } // namespace sync_file_system 417 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698