Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: chrome/browser/chromeos/drive/file_system/copy_operation.cc

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/copy_operation.h" 5 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_util.h"
10 #include "base/task_runner_util.h" 9 #include "base/task_runner_util.h"
11 #include "chrome/browser/chromeos/drive/drive.pb.h" 10 #include "chrome/browser/chromeos/drive/drive.pb.h"
12 #include "chrome/browser/chromeos/drive/file_cache.h" 11 #include "chrome/browser/chromeos/drive/file_cache.h"
13 #include "chrome/browser/chromeos/drive/file_change.h" 12 #include "chrome/browser/chromeos/drive/file_change.h"
14 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" 13 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h"
15 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h" 14 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h"
16 #include "chrome/browser/chromeos/drive/file_system_util.h" 15 #include "chrome/browser/chromeos/drive/file_system_util.h"
17 #include "chrome/browser/chromeos/drive/job_scheduler.h" 16 #include "chrome/browser/chromeos/drive/job_scheduler.h"
18 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h" 17 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h"
19 #include "chrome/browser/chromeos/drive/resource_metadata.h" 18 #include "chrome/browser/chromeos/drive/resource_metadata.h"
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 FileChange changed_file; 658 FileChange changed_file;
660 changed_file.Update(remote_dest_path, *entry, FileChange::ADD_OR_UPDATE); 659 changed_file.Update(remote_dest_path, *entry, FileChange::ADD_OR_UPDATE);
661 delegate_->OnFileChangedByOperation(changed_file); 660 delegate_->OnFileChangedByOperation(changed_file);
662 delegate_->OnEntryUpdatedByOperation(*local_id); 661 delegate_->OnEntryUpdatedByOperation(*local_id);
663 } 662 }
664 callback.Run(error); 663 callback.Run(error);
665 } 664 }
666 665
667 } // namespace file_system 666 } // namespace file_system
668 } // namespace drive 667 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698