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_mount.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_mount.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 12 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
13 #include "chrome/browser/chromeos/drive/file_system_util.h" | 13 #include "chrome/browser/chromeos/drive/file_system_util.h" |
14 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" | 14 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" |
15 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 15 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
16 #include "chrome/browser/chromeos/file_manager/volume_manager.h" | 16 #include "chrome/browser/chromeos/file_manager/volume_manager.h" |
17 #include "chrome/browser/drive/event_logger.h" | |
18 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/common/extensions/api/file_manager_private.h" | 18 #include "chrome/common/extensions/api/file_manager_private.h" |
20 #include "chromeos/disks/disk_mount_manager.h" | 19 #include "chromeos/disks/disk_mount_manager.h" |
| 20 #include "components/drive/event_logger.h" |
21 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
22 #include "google_apis/drive/task_util.h" | 22 #include "google_apis/drive/task_util.h" |
23 #include "ui/shell_dialogs/selected_file_info.h" | 23 #include "ui/shell_dialogs/selected_file_info.h" |
24 | 24 |
25 using chromeos::disks::DiskMountManager; | 25 using chromeos::disks::DiskMountManager; |
26 using content::BrowserThread; | 26 using content::BrowserThread; |
27 namespace file_manager_private = extensions::api::file_manager_private; | 27 namespace file_manager_private = extensions::api::file_manager_private; |
28 | 28 |
29 namespace extensions { | 29 namespace extensions { |
30 | 30 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 name(), request_id(), log_string.c_str(), result.size()); | 246 name(), request_id(), log_string.c_str(), result.size()); |
247 } | 247 } |
248 | 248 |
249 results_ = | 249 results_ = |
250 file_manager_private::GetVolumeMetadataList::Results::Create(result); | 250 file_manager_private::GetVolumeMetadataList::Results::Create(result); |
251 SendResponse(true); | 251 SendResponse(true); |
252 return true; | 252 return true; |
253 } | 253 } |
254 | 254 |
255 } // namespace extensions | 255 } // namespace extensions |
OLD | NEW |