OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/chromeos/drive/file_system/create_directory_operation.h
" | 5 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h
" |
6 | 6 |
7 #include "chrome/browser/chromeos/drive/drive.pb.h" | 7 #include "chrome/browser/chromeos/drive/drive.pb.h" |
8 #include "chrome/browser/chromeos/drive/file_change.h" | 8 #include "chrome/browser/chromeos/drive/file_change.h" |
9 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h" | 9 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h" |
10 #include "chrome/browser/chromeos/drive/file_system_util.h" | 10 #include "chrome/browser/chromeos/drive/file_system_core_util.h" |
11 #include "chrome/browser/chromeos/drive/job_scheduler.h" | 11 #include "chrome/browser/chromeos/drive/job_scheduler.h" |
12 #include "chrome/browser/chromeos/drive/resource_metadata.h" | 12 #include "chrome/browser/chromeos/drive/resource_metadata.h" |
13 | 13 |
14 namespace drive { | 14 namespace drive { |
15 namespace file_system { | 15 namespace file_system { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 FileError CreateDirectoryRecursively(internal::ResourceMetadata* metadata, | 19 FileError CreateDirectoryRecursively(internal::ResourceMetadata* metadata, |
20 const std::string& parent_local_id, | 20 const std::string& parent_local_id, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 delegate_->OnEntryUpdatedByOperation(ClientContext(USER_INITIATED), id); | 173 delegate_->OnEntryUpdatedByOperation(ClientContext(USER_INITIATED), id); |
174 } | 174 } |
175 | 175 |
176 delegate_->OnFileChangedByOperation(*changed_files); | 176 delegate_->OnFileChangedByOperation(*changed_files); |
177 | 177 |
178 callback.Run(error); | 178 callback.Run(error); |
179 } | 179 } |
180 | 180 |
181 } // namespace file_system | 181 } // namespace file_system |
182 } // namespace drive | 182 } // namespace drive |
OLD | NEW |