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/chromeos/drive/file_system.h" | 5 #include "chrome/browser/chromeos/drive/file_system.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/platform_file.h" | |
10 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
11 #include "chrome/browser/chromeos/drive/change_list_loader.h" | 10 #include "chrome/browser/chromeos/drive/change_list_loader.h" |
12 #include "chrome/browser/chromeos/drive/directory_loader.h" | 11 #include "chrome/browser/chromeos/drive/directory_loader.h" |
13 #include "chrome/browser/chromeos/drive/drive.pb.h" | 12 #include "chrome/browser/chromeos/drive/drive.pb.h" |
14 #include "chrome/browser/chromeos/drive/file_cache.h" | 13 #include "chrome/browser/chromeos/drive/file_cache.h" |
15 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" | 14 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" |
16 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h
" | 15 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h
" |
17 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" | 16 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" |
18 #include "chrome/browser/chromeos/drive/file_system/download_operation.h" | 17 #include "chrome/browser/chromeos/drive/file_system/download_operation.h" |
19 #include "chrome/browser/chromeos/drive/file_system/get_file_for_saving_operatio
n.h" | 18 #include "chrome/browser/chromeos/drive/file_system/get_file_for_saving_operatio
n.h" |
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 FROM_HERE, | 1019 FROM_HERE, |
1021 base::Bind(&GetPathFromResourceIdOnBlockingPool, | 1020 base::Bind(&GetPathFromResourceIdOnBlockingPool, |
1022 resource_metadata_, | 1021 resource_metadata_, |
1023 resource_id, | 1022 resource_id, |
1024 file_path), | 1023 file_path), |
1025 base::Bind(&GetPathFromResourceIdAfterGetPath, | 1024 base::Bind(&GetPathFromResourceIdAfterGetPath, |
1026 base::Owned(file_path), | 1025 base::Owned(file_path), |
1027 callback)); | 1026 callback)); |
1028 } | 1027 } |
1029 } // namespace drive | 1028 } // namespace drive |
OLD | NEW |