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

Unified Diff: chrome/browser/media_galleries/linux/snapshot_file_details.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/linux/snapshot_file_details.h
diff --git a/chrome/browser/media_galleries/linux/snapshot_file_details.h b/chrome/browser/media_galleries/linux/snapshot_file_details.h
index c2157fcab042638a4c0dbc69f9dddb5f520194ce..e358b39493764877164d58c2ad7f36859a0d4f28 100644
--- a/chrome/browser/media_galleries/linux/snapshot_file_details.h
+++ b/chrome/browser/media_galleries/linux/snapshot_file_details.h
@@ -11,7 +11,7 @@
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/platform_file.h"
-#include "webkit/fileapi/media/mtp_device_async_delegate.h"
+#include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
namespace chrome {
@@ -20,9 +20,9 @@ struct SnapshotRequestInfo {
SnapshotRequestInfo(
const std::string& device_file_path,
const base::FilePath& snapshot_file_path,
- const fileapi::MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback&
+ const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback&
success_callback,
- const fileapi::MTPDeviceAsyncDelegate::ErrorCallback& error_callback);
+ const MTPDeviceAsyncDelegate::ErrorCallback& error_callback);
~SnapshotRequestInfo();
// MTP device file path.
@@ -32,11 +32,11 @@ struct SnapshotRequestInfo {
const base::FilePath snapshot_file_path;
// A callback to be called when CreateSnapshotFile() succeeds.
- const fileapi::MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback
+ const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback
success_callback;
// A callback to be called when CreateSnapshotFile() fails.
- const fileapi::MTPDeviceAsyncDelegate::ErrorCallback error_callback;
+ const MTPDeviceAsyncDelegate::ErrorCallback error_callback;
};
// SnapshotFileDetails tracks the current state of the snapshot file (e.g how
@@ -65,12 +65,12 @@ class SnapshotFileDetails {
return file_info_;
}
- const fileapi::MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback
+ const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback
success_callback() const {
return request_info_.success_callback;
}
- const fileapi::MTPDeviceAsyncDelegate::ErrorCallback error_callback() const {
+ const MTPDeviceAsyncDelegate::ErrorCallback error_callback() const {
return request_info_.error_callback;
}

Powered by Google App Engine
This is Rietveld 408576698