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

Unified Diff: chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. Created 7 years, 8 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/fileapi/mtp_device_async_delegate.h
diff --git a/webkit/fileapi/media/mtp_device_async_delegate.h b/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h
similarity index 90%
rename from webkit/fileapi/media/mtp_device_async_delegate.h
rename to chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h
index 4140c379b4e5dbeff62ec2966a0e0eb260469e0b..ba07d37ba7b9a17b18972a0273d4844a564dba5d 100644
--- a/webkit/fileapi/media/mtp_device_async_delegate.h
+++ b/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_ASYNC_DELEGATE_H_
-#define WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_ASYNC_DELEGATE_H_
+#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_
+#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_
#include "base/callback.h"
#include "base/memory/ref_counted.h"
@@ -14,7 +14,7 @@ namespace base {
class FilePath;
}
-namespace fileapi {
+namespace chrome {
// Asynchronous delegate for media transfer protocol (MTP) device to perform
// media device isolated file system operations. Class that implements this
@@ -30,7 +30,7 @@ class MTPDeviceAsyncDelegate {
// A callback to be called when ReadDirectory method call succeeds.
typedef base::Callback<
- void(const AsyncFileUtil::EntryList& file_list,
+ void(const fileapi::AsyncFileUtil::EntryList& file_list,
bool has_more)> ReadDirectorySuccessCallback;
// A callback to be called when GetFileInfo/ReadDirectory/CreateSnapshot
@@ -80,6 +80,6 @@ class MTPDeviceAsyncDelegate {
virtual ~MTPDeviceAsyncDelegate() {}
};
-} // namespace fileapi
+} // namespace chrome
-#endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_ASYNC_DELEGATE_H_
+#endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698