OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/mock_local_change_processor.h" | 5 #include "chrome/browser/sync_file_system/mock_local_change_processor.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/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "chrome/browser/sync_file_system/file_change.h" | 11 #include "chrome/browser/sync_file_system/file_change.h" |
12 #include "chrome/browser/sync_file_system/sync_file_metadata.h" | 12 #include "chrome/browser/sync_file_system/sync_file_metadata.h" |
13 #include "storage/browser/fileapi/file_system_url.h" | 13 #include "storage/browser/fileapi/file_system_url.h" |
14 | 14 |
15 using ::testing::_; | 15 using ::testing::_; |
16 using ::testing::Invoke; | 16 using ::testing::Invoke; |
17 using ::testing::Return; | 17 using ::testing::Return; |
18 | 18 |
19 namespace sync_file_system { | 19 namespace sync_file_system { |
20 | 20 |
(...skipping 10 matching lines...) Expand all Loading... |
31 const FileChange& change, | 31 const FileChange& change, |
32 const base::FilePath& local_file_path, | 32 const base::FilePath& local_file_path, |
33 const SyncFileMetadata& local_file_metadata, | 33 const SyncFileMetadata& local_file_metadata, |
34 const storage::FileSystemURL& url, | 34 const storage::FileSystemURL& url, |
35 const SyncStatusCallback& callback) { | 35 const SyncStatusCallback& callback) { |
36 base::ThreadTaskRunnerHandle::Get()->PostTask( | 36 base::ThreadTaskRunnerHandle::Get()->PostTask( |
37 FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); | 37 FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); |
38 } | 38 } |
39 | 39 |
40 } // namespace sync_file_system | 40 } // namespace sync_file_system |
OLD | NEW |