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

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

Issue 10870040: Rename FileSystemOperationInterface to FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing Created 8 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 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 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_STREAM_WRITER_H_ 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_STREAM_WRITER_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_STREAM_WRITER_H_ 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_STREAM_WRITER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "webkit/fileapi/file_stream_writer.h" 13 #include "webkit/fileapi/file_stream_writer.h"
14 #include "webkit/fileapi/file_system_operation_interface.h"
15 #include "webkit/fileapi/file_system_url.h" 14 #include "webkit/fileapi/file_system_url.h"
16 15
17 namespace net { 16 namespace net {
18 class IOBuffer; 17 class IOBuffer;
19 } 18 }
20 19
20 namespace webkit_blob {
21 class ShareableFileReference;
22 }
23
21 namespace fileapi { 24 namespace fileapi {
22 25
23 class RemoteFileSystemProxyInterface; 26 class RemoteFileSystemProxyInterface;
24 27
25 // FileStreamWriter interface for writing to a file on remote file system. 28 // FileStreamWriter interface for writing to a file on remote file system.
26 class RemoteFileStreamWriter : public fileapi::FileStreamWriter { 29 class RemoteFileStreamWriter : public fileapi::FileStreamWriter {
27 public: 30 public:
28 // Creates a writer for a file on |remote_filesystem| with path url |url| 31 // Creates a writer for a file on |remote_filesystem| with path url |url|
29 // (like "filesystem:chrome-extension://id/external/special/drive/...") that 32 // (like "filesystem:chrome-extension://id/external/special/drive/...") that
30 // starts writing from |offset|. When invalid parameters are set, the first 33 // starts writing from |offset|. When invalid parameters are set, the first
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 net::CompletionCallback pending_cancel_callback_; 65 net::CompletionCallback pending_cancel_callback_;
63 66
64 base::WeakPtrFactory<RemoteFileStreamWriter> weak_factory_; 67 base::WeakPtrFactory<RemoteFileStreamWriter> weak_factory_;
65 68
66 DISALLOW_COPY_AND_ASSIGN(RemoteFileStreamWriter); 69 DISALLOW_COPY_AND_ASSIGN(RemoteFileStreamWriter);
67 }; 70 };
68 71
69 } // namespace fileapi 72 } // namespace fileapi
70 73
71 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_STREAM_WRITER_H_ 74 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_STREAM_WRITER_H_
OLDNEW
« no previous file with comments | « webkit/chromeos/fileapi/cros_mount_point_provider.cc ('k') | webkit/chromeos/fileapi/remote_file_stream_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698