OLD | NEW |
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/local_file_sync_context.h" | 5 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "base/task_runner_util.h" | 12 #include "base/task_runner_util.h" |
13 #include "chrome/browser/sync_file_system/file_change.h" | 13 #include "chrome/browser/sync_file_system/file_change.h" |
14 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" | 14 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
15 #include "chrome/browser/sync_file_system/local/local_origin_change_observer.h" | 15 #include "chrome/browser/sync_file_system/local/local_origin_change_observer.h" |
16 #include "chrome/browser/sync_file_system/local/root_delete_helper.h" | 16 #include "chrome/browser/sync_file_system/local/root_delete_helper.h" |
17 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 17 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
18 #include "chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
" | 18 #include "chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
" |
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 return; | 1065 return; |
1066 } | 1066 } |
1067 | 1067 |
1068 FileSystemURL url_for_sync = CreateSyncableFileSystemURLForSync( | 1068 FileSystemURL url_for_sync = CreateSyncableFileSystemURLForSync( |
1069 file_system_context, dest_url); | 1069 file_system_context, dest_url); |
1070 file_system_context->operation_runner()->CopyInForeignFile( | 1070 file_system_context->operation_runner()->CopyInForeignFile( |
1071 local_path, url_for_sync, callback); | 1071 local_path, url_for_sync, callback); |
1072 } | 1072 } |
1073 | 1073 |
1074 } // namespace sync_file_system | 1074 } // namespace sync_file_system |
OLD | NEW |