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

Unified Diff: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
diff --git a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
index 8bd216752524954a93c078644fa849764d19fa26..49ee674165ac77c8420e64185a62c62de9596ab8 100644
--- a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
+++ b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
@@ -11,7 +11,7 @@
#include "components/storage_monitor/image_capture_device.h"
#include "components/storage_monitor/image_capture_device_manager.h"
#include "content/public/browser/browser_thread.h"
-#include "webkit/browser/fileapi/async_file_util.h"
+#include "storage/browser/fileapi/async_file_util.h"
namespace {
@@ -370,7 +370,7 @@ void MTPDeviceDelegateImplMac::NotifyReadDir() {
// where we find the entry for the directory, then read out all first-level
// children. We then break when the DirName is greater than the read_path,
// as that means we've passed the subdir we're reading.
- fileapi::AsyncFileUtil::EntryList entry_list;
+ storage::AsyncFileUtil::EntryList entry_list;
bool found_path = false;
for (size_t i = 0; i < file_paths_.size(); ++i) {
if (file_paths_[i] == read_path) {
@@ -388,7 +388,7 @@ void MTPDeviceDelegateImplMac::NotifyReadDir() {
base::FilePath relative_path;
read_path.AppendRelativePath(file_paths_[i], &relative_path);
base::File::Info info = file_info_[file_paths_[i].value()];
- fileapi::DirectoryEntry entry;
+ storage::DirectoryEntry entry;
entry.name = relative_path.value();
entry.is_directory = info.is_directory;
entry.size = info.size;

Powered by Google App Engine
This is Rietveld 408576698