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/file_util.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/platform_file.h" | |
11 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
12 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
13 #include "base/task_runner_util.h" | 12 #include "base/task_runner_util.h" |
14 #include "chrome/browser/sync_file_system/file_change.h" | 13 #include "chrome/browser/sync_file_system/file_change.h" |
15 #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" |
16 #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" |
17 #include "chrome/browser/sync_file_system/local/root_delete_helper.h" | 16 #include "chrome/browser/sync_file_system/local/root_delete_helper.h" |
18 #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" |
19 #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
" |
20 #include "chrome/browser/sync_file_system/logger.h" | 19 #include "chrome/browser/sync_file_system/logger.h" |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 return; | 999 return; |
1001 } | 1000 } |
1002 | 1001 |
1003 FileSystemURL url_for_sync = CreateSyncableFileSystemURLForSync( | 1002 FileSystemURL url_for_sync = CreateSyncableFileSystemURLForSync( |
1004 file_system_context, dest_url); | 1003 file_system_context, dest_url); |
1005 file_system_context->operation_runner()->CopyInForeignFile( | 1004 file_system_context->operation_runner()->CopyInForeignFile( |
1006 local_path, url_for_sync, callback); | 1005 local_path, url_for_sync, callback); |
1007 } | 1006 } |
1008 | 1007 |
1009 } // namespace sync_file_system | 1008 } // namespace sync_file_system |
OLD | NEW |