OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/file_system_provider/provided_file_system.h" | 5 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/debug/trace_event.h" | |
10 #include "base/files/file.h" | 9 #include "base/files/file.h" |
| 10 #include "base/trace_event/trace_event.h" |
11 #include "chrome/browser/chromeos/file_system_provider/notification_manager.h" | 11 #include "chrome/browser/chromeos/file_system_provider/notification_manager.h" |
12 #include "chrome/browser/chromeos/file_system_provider/operations/abort.h" | 12 #include "chrome/browser/chromeos/file_system_provider/operations/abort.h" |
13 #include "chrome/browser/chromeos/file_system_provider/operations/add_watcher.h" | 13 #include "chrome/browser/chromeos/file_system_provider/operations/add_watcher.h" |
14 #include "chrome/browser/chromeos/file_system_provider/operations/close_file.h" | 14 #include "chrome/browser/chromeos/file_system_provider/operations/close_file.h" |
15 #include "chrome/browser/chromeos/file_system_provider/operations/copy_entry.h" | 15 #include "chrome/browser/chromeos/file_system_provider/operations/copy_entry.h" |
16 #include "chrome/browser/chromeos/file_system_provider/operations/create_directo
ry.h" | 16 #include "chrome/browser/chromeos/file_system_provider/operations/create_directo
ry.h" |
17 #include "chrome/browser/chromeos/file_system_provider/operations/create_file.h" | 17 #include "chrome/browser/chromeos/file_system_provider/operations/create_file.h" |
18 #include "chrome/browser/chromeos/file_system_provider/operations/delete_entry.h
" | 18 #include "chrome/browser/chromeos/file_system_provider/operations/delete_entry.h
" |
19 #include "chrome/browser/chromeos/file_system_provider/operations/get_metadata.h
" | 19 #include "chrome/browser/chromeos/file_system_provider/operations/get_metadata.h
" |
20 #include "chrome/browser/chromeos/file_system_provider/operations/move_entry.h" | 20 #include "chrome/browser/chromeos/file_system_provider/operations/move_entry.h" |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 const storage::AsyncFileUtil::StatusCallback& callback, | 776 const storage::AsyncFileUtil::StatusCallback& callback, |
777 base::File::Error result) { | 777 base::File::Error result) { |
778 // Closing files is final. Even if an error happened, we remove it from the | 778 // Closing files is final. Even if an error happened, we remove it from the |
779 // list of opened files. | 779 // list of opened files. |
780 opened_files_.erase(file_handle); | 780 opened_files_.erase(file_handle); |
781 callback.Run(result); | 781 callback.Run(result); |
782 } | 782 } |
783 | 783 |
784 } // namespace file_system_provider | 784 } // namespace file_system_provider |
785 } // namespace chromeos | 785 } // namespace chromeos |
OLD | NEW |