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

Unified Diff: chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.cc

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/chromeos/file_system_provider/fileapi/file_stream_writer.cc
diff --git a/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.cc b/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.cc
index 1a53d0fccb6c99aa8121912bcaddcf7cf5170278..77f4b5f66afeca58c7b2231da33a58a8ef0094f1 100644
--- a/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.cc
+++ b/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.cc
@@ -26,7 +26,7 @@ void EmptyStatusCallback(base::File::Error /* result */) {
// Opens a file for writing and calls the completion callback. Must be called
// on UI thread.
void OpenFileOnUIThread(
- const fileapi::FileSystemURL& url,
+ const storage::FileSystemURL& url,
const FileStreamWriter::OpenFileCompletedCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
@@ -77,7 +77,7 @@ void WriteFileOnUIThread(
scoped_refptr<net::IOBuffer> buffer,
int64 offset,
int length,
- const fileapi::AsyncFileUtil::StatusCallback& callback) {
+ const storage::AsyncFileUtil::StatusCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
// If the file system got unmounted, then abort the writing operation.
@@ -91,7 +91,7 @@ void WriteFileOnUIThread(
// Forward the completion callback to IO thread.
void OnWriteFileCompletedOnUIThread(
- const fileapi::AsyncFileUtil::StatusCallback& callback,
+ const storage::AsyncFileUtil::StatusCallback& callback,
base::File::Error result) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
BrowserThread::PostTask(
@@ -100,7 +100,7 @@ void OnWriteFileCompletedOnUIThread(
} // namespace
-FileStreamWriter::FileStreamWriter(const fileapi::FileSystemURL& url,
+FileStreamWriter::FileStreamWriter(const storage::FileSystemURL& url,
int64 initial_offset)
: url_(url),
current_offset_(initial_offset),

Powered by Google App Engine
This is Rietveld 408576698