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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.h ('k') | webkit/plugins/ppapi/message_channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FILEAPI_FILE_WRITER_DELEGATE_H_
6 #define WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ 6 #define WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_
7 7
8 #include "base/file_path.h" 8 #include "base/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/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/platform_file.h" 12 #include "base/platform_file.h"
13 #include "base/task.h"
14 #include "base/time.h" 13 #include "base/time.h"
15 #include "net/base/file_stream.h" 14 #include "net/base/file_stream.h"
16 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
17 #include "net/url_request/url_request.h" 16 #include "net/url_request/url_request.h"
18 17
19 namespace fileapi { 18 namespace fileapi {
20 19
21 class FileSystemOperation; 20 class FileSystemOperation;
22 class FileSystemOperationContext; 21 class FileSystemOperationContext;
23 class FileSystemQuotaUtil; 22 class FileSystemQuotaUtil;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 int64 allowed_bytes_to_write_; 77 int64 allowed_bytes_to_write_;
79 scoped_refptr<net::IOBufferWithSize> io_buffer_; 78 scoped_refptr<net::IOBufferWithSize> io_buffer_;
80 scoped_ptr<net::FileStream> file_stream_; 79 scoped_ptr<net::FileStream> file_stream_;
81 net::URLRequest* request_; 80 net::URLRequest* request_;
82 base::WeakPtrFactory<FileWriterDelegate> weak_factory_; 81 base::WeakPtrFactory<FileWriterDelegate> weak_factory_;
83 }; 82 };
84 83
85 } // namespace fileapi 84 } // namespace fileapi
86 85
87 #endif // WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ 86 #endif // WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.h ('k') | webkit/plugins/ppapi/message_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698