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/chromeos/drive/sync/entry_update_performer.h" | 5 #include "chrome/browser/chromeos/drive/sync/entry_update_performer.h" |
6 | 6 |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "chrome/browser/chromeos/drive/change_list_loader.h" | 9 #include "chrome/browser/chromeos/drive/change_list_loader.h" |
10 #include "chrome/browser/chromeos/drive/drive.pb.h" | 10 #include "chrome/browser/chromeos/drive/drive.pb.h" |
11 #include "chrome/browser/chromeos/drive/file_cache.h" | 11 #include "chrome/browser/chromeos/drive/file_cache.h" |
12 #include "chrome/browser/chromeos/drive/file_change.h" | 12 #include "chrome/browser/chromeos/drive/file_change.h" |
13 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h" | 13 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h" |
14 #include "chrome/browser/chromeos/drive/file_system_util.h" | 14 #include "chrome/browser/chromeos/drive/file_system_util.h" |
15 #include "chrome/browser/chromeos/drive/job_scheduler.h" | 15 #include "chrome/browser/chromeos/drive/job_scheduler.h" |
16 #include "chrome/browser/chromeos/drive/resource_metadata.h" | 16 #include "chrome/browser/chromeos/drive/resource_metadata.h" |
17 #include "chrome/browser/chromeos/drive/sync/entry_revert_performer.h" | 17 #include "chrome/browser/chromeos/drive/sync/entry_revert_performer.h" |
18 #include "chrome/browser/chromeos/drive/sync/remove_performer.h" | 18 #include "chrome/browser/chromeos/drive/sync/remove_performer.h" |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 FileError error) { | 397 FileError error) { |
398 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 398 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
399 DCHECK(!callback.is_null()); | 399 DCHECK(!callback.is_null()); |
400 | 400 |
401 delegate_->OnFileChangedByOperation(*changed_files); | 401 delegate_->OnFileChangedByOperation(*changed_files); |
402 callback.Run(error); | 402 callback.Run(error); |
403 } | 403 } |
404 | 404 |
405 } // namespace internal | 405 } // namespace internal |
406 } // namespace drive | 406 } // namespace drive |
OLD | NEW |