| 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/drive_backend/folder_creator.h" | 5 #include "chrome/browser/sync_file_system/drive_backend/folder_creator.h" |
| 6 | 6 |
| 7 #include "chrome/browser/drive/drive_api_util.h" | |
| 8 #include "chrome/browser/drive/drive_service_interface.h" | |
| 9 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" | 7 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" |
| 10 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 8 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
| 9 #include "components/drive/drive_api_util.h" |
| 10 #include "components/drive/service/drive_service_interface.h" |
| 11 #include "google_apis/drive/drive_api_parser.h" | 11 #include "google_apis/drive/drive_api_parser.h" |
| 12 | 12 |
| 13 namespace drive { | 13 namespace drive { |
| 14 class DriveServiceInterface; | 14 class DriveServiceInterface; |
| 15 class DriveUploaderInterface; | 15 class DriveUploaderInterface; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace sync_file_system { | 18 namespace sync_file_system { |
| 19 namespace drive_backend { | 19 namespace drive_backend { |
| 20 | 20 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 if (!metadata_database_->FindFileByFileID(file_id, nullptr)) { | 115 if (!metadata_database_->FindFileByFileID(file_id, nullptr)) { |
| 116 callback.Run(std::string(), SYNC_FILE_ERROR_NOT_FOUND); | 116 callback.Run(std::string(), SYNC_FILE_ERROR_NOT_FOUND); |
| 117 return; | 117 return; |
| 118 } | 118 } |
| 119 | 119 |
| 120 callback.Run(file_id, status); | 120 callback.Run(file_id, status); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } // namespace drive_backend | 123 } // namespace drive_backend |
| 124 } // namespace sync_file_system | 124 } // namespace sync_file_system |
| OLD | NEW |