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

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

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/fileapi/mtp_file_stream_reader.h
diff --git a/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h b/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h
index 1b097178c9def13282777495f85ac1953891e722..ec26d7e7cf26d2582378f6d5aefcc51ff722d1ab 100644
--- a/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h
+++ b/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h
@@ -9,23 +9,23 @@
#include "base/files/file.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "webkit/browser/blob/file_stream_reader.h"
-#include "webkit/browser/fileapi/file_system_url.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
+#include "storage/browser/blob/file_stream_reader.h"
+#include "storage/browser/fileapi/file_system_url.h"
+#include "storage/common/storage_export.h"
namespace base {
class FilePath;
}
-namespace fileapi {
+namespace storage {
class FileSystemContext;
}
class MTPFileStreamReader
- : public NON_EXPORTED_BASE(webkit_blob::FileStreamReader) {
+ : public NON_EXPORTED_BASE(storage::FileStreamReader) {
public:
- MTPFileStreamReader(fileapi::FileSystemContext* file_system_context,
- const fileapi::FileSystemURL& url,
+ MTPFileStreamReader(storage::FileSystemContext* file_system_context,
+ const storage::FileSystemURL& url,
int64 initial_offset,
const base::Time& expected_modification_time,
bool do_media_header_validation);
@@ -52,8 +52,8 @@ class MTPFileStreamReader
void FinishGetLength(const net::Int64CompletionCallback& callback,
const base::File::Info& file_info);
- scoped_refptr<fileapi::FileSystemContext> file_system_context_;
- fileapi::FileSystemURL url_;
+ scoped_refptr<storage::FileSystemContext> file_system_context_;
+ storage::FileSystemURL url_;
int64 current_offset_;
const base::Time expected_modification_time_;

Powered by Google App Engine
This is Rietveld 408576698