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

Side by Side Diff: webkit/browser/fileapi/file_writer_delegate.h

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix Created 7 years, 7 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_FILEAPI_FILE_WRITER_DELEGATE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_WRITER_DELEGATE_H_
6 #define WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_WRITER_DELEGATE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "net/base/file_stream.h" 13 #include "net/base/file_stream.h"
14 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
15 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
16 #include "webkit/fileapi/file_system_operation.h" 16 #include "webkit/browser/fileapi/file_system_operation.h"
17 #include "webkit/storage/webkit_storage_export.h" 17 #include "webkit/storage/webkit_storage_export.h"
18 18
19 namespace fileapi { 19 namespace fileapi {
20 20
21 class FileStreamWriter; 21 class FileStreamWriter;
22 class FileSystemOperationContext; 22 class FileSystemOperationContext;
23 class FileSystemQuotaUtil; 23 class FileSystemQuotaUtil;
24 24
25 class WEBKIT_STORAGE_EXPORT_PRIVATE FileWriterDelegate 25 class WEBKIT_STORAGE_EXPORT_PRIVATE FileWriterDelegate
26 : public net::URLRequest::Delegate { 26 : public net::URLRequest::Delegate {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 int bytes_written_; 96 int bytes_written_;
97 int bytes_read_; 97 int bytes_read_;
98 scoped_refptr<net::IOBufferWithSize> io_buffer_; 98 scoped_refptr<net::IOBufferWithSize> io_buffer_;
99 scoped_refptr<net::DrainableIOBuffer> cursor_; 99 scoped_refptr<net::DrainableIOBuffer> cursor_;
100 scoped_ptr<net::URLRequest> request_; 100 scoped_ptr<net::URLRequest> request_;
101 base::WeakPtrFactory<FileWriterDelegate> weak_factory_; 101 base::WeakPtrFactory<FileWriterDelegate> weak_factory_;
102 }; 102 };
103 103
104 } // namespace fileapi 104 } // namespace fileapi
105 105
106 #endif // WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ 106 #endif // WEBKIT_BROWSER_FILEAPI_FILE_WRITER_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_url_unittest.cc ('k') | webkit/browser/fileapi/file_writer_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698