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/extensions/file_manager/private_api_file_syste
m.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_file_syste
m.h" |
6 | 6 |
7 #include <sys/statvfs.h> | 7 #include <sys/statvfs.h> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/posix/eintr_wrapper.h" | 10 #include "base/posix/eintr_wrapper.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "chrome/browser/profiles/profile.h" | 30 #include "chrome/browser/profiles/profile.h" |
31 #include "chrome/browser/profiles/profile_manager.h" | 31 #include "chrome/browser/profiles/profile_manager.h" |
32 #include "chrome/common/extensions/api/file_manager_private.h" | 32 #include "chrome/common/extensions/api/file_manager_private.h" |
33 #include "chrome/common/extensions/api/file_manager_private_internal.h" | 33 #include "chrome/common/extensions/api/file_manager_private_internal.h" |
34 #include "chromeos/disks/disk_mount_manager.h" | 34 #include "chromeos/disks/disk_mount_manager.h" |
35 #include "content/public/browser/child_process_security_policy.h" | 35 #include "content/public/browser/child_process_security_policy.h" |
36 #include "content/public/browser/render_process_host.h" | 36 #include "content/public/browser/render_process_host.h" |
37 #include "content/public/browser/render_view_host.h" | 37 #include "content/public/browser/render_view_host.h" |
38 #include "content/public/common/url_constants.h" | 38 #include "content/public/common/url_constants.h" |
39 #include "net/base/escape.h" | 39 #include "net/base/escape.h" |
40 #include "storage/browser/blob/file_stream_reader.h" | 40 #include "storage/browser/fileapi/file_stream_reader.h" |
41 #include "storage/browser/fileapi/file_system_context.h" | 41 #include "storage/browser/fileapi/file_system_context.h" |
42 #include "storage/browser/fileapi/file_system_file_util.h" | 42 #include "storage/browser/fileapi/file_system_file_util.h" |
43 #include "storage/browser/fileapi/file_system_operation_context.h" | 43 #include "storage/browser/fileapi/file_system_operation_context.h" |
44 #include "storage/browser/fileapi/file_system_operation_runner.h" | 44 #include "storage/browser/fileapi/file_system_operation_runner.h" |
45 #include "storage/common/fileapi/file_system_info.h" | 45 #include "storage/common/fileapi/file_system_info.h" |
46 #include "storage/common/fileapi/file_system_types.h" | 46 #include "storage/common/fileapi/file_system_types.h" |
47 #include "storage/common/fileapi/file_system_util.h" | 47 #include "storage/common/fileapi/file_system_util.h" |
48 #include "third_party/cros_system_api/constants/cryptohome.h" | 48 #include "third_party/cros_system_api/constants/cryptohome.h" |
49 | 49 |
50 using chromeos::disks::DiskMountManager; | 50 using chromeos::disks::DiskMountManager; |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 return RespondLater(); | 979 return RespondLater(); |
980 } | 980 } |
981 | 981 |
982 void FileManagerPrivateSetEntryTagFunction::OnSetEntryPropertyCompleted( | 982 void FileManagerPrivateSetEntryTagFunction::OnSetEntryPropertyCompleted( |
983 drive::FileError result) { | 983 drive::FileError result) { |
984 Respond(result == drive::FILE_ERROR_OK ? NoArguments() | 984 Respond(result == drive::FILE_ERROR_OK ? NoArguments() |
985 : Error("Failed to set a tag.")); | 985 : Error("Failed to set a tag.")); |
986 } | 986 } |
987 | 987 |
988 } // namespace extensions | 988 } // namespace extensions |
OLD | NEW |