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

Side by Side Diff: webkit/chromeos/fileapi/remote_file_stream_writer.cc

Issue 10870040: Rename FileSystemOperationInterface to FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/chromeos/fileapi/remote_file_stream_writer.h" 5 #include "webkit/chromeos/fileapi/remote_file_stream_writer.h"
6 6
7 #include "net/base/io_buffer.h" 7 #include "net/base/io_buffer.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "webkit/blob/local_file_stream_reader.h" 9 #include "webkit/blob/local_file_stream_reader.h"
10 #include "webkit/blob/shareable_file_reference.h"
10 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" 11 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h"
11 #include "webkit/fileapi/local_file_stream_writer.h" 12 #include "webkit/fileapi/local_file_stream_writer.h"
12 13
13 namespace fileapi { 14 namespace fileapi {
14 15
15 RemoteFileStreamWriter::RemoteFileStreamWriter( 16 RemoteFileStreamWriter::RemoteFileStreamWriter(
16 const scoped_refptr<RemoteFileSystemProxyInterface>& remote_filesystem, 17 const scoped_refptr<RemoteFileSystemProxyInterface>& remote_filesystem,
17 const FileSystemURL& url, 18 const FileSystemURL& url,
18 int64 offset) 19 int64 offset)
19 : remote_filesystem_(remote_filesystem), 20 : remote_filesystem_(remote_filesystem),
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 return net::ERR_UNEXPECTED; 104 return net::ERR_UNEXPECTED;
104 } 105 }
105 106
106 void RemoteFileStreamWriter::InvokePendingCancelCallback(int result) { 107 void RemoteFileStreamWriter::InvokePendingCancelCallback(int result) {
107 net::CompletionCallback callback = pending_cancel_callback_; 108 net::CompletionCallback callback = pending_cancel_callback_;
108 pending_cancel_callback_.Reset(); 109 pending_cancel_callback_.Reset();
109 callback.Run(result); 110 callback.Run(result);
110 } 111 }
111 112
112 } // namespace gdata 113 } // namespace gdata
OLDNEW
« no previous file with comments | « webkit/chromeos/fileapi/remote_file_stream_writer.h ('k') | webkit/chromeos/fileapi/remote_file_system_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698