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

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

Issue 8231004: Remaining cleanup (base::Bind): Replacing FileUtilProxy calls with new callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 2 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) 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_SYSTEM_URL_REQUEST_JOB_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void StartAsync(); 54 void StartAsync();
55 void DidGetMetadata(const base::PlatformFileInfo& file_info, 55 void DidGetMetadata(const base::PlatformFileInfo& file_info,
56 const FilePath& platform_path); 56 const FilePath& platform_path);
57 void DidOpen(base::PlatformFileError error_code, 57 void DidOpen(base::PlatformFileError error_code,
58 base::PassPlatformFile file, bool created); 58 base::PassPlatformFile file, bool created);
59 void DidRead(int result); 59 void DidRead(int result);
60 void NotifyFailed(int rv); 60 void NotifyFailed(int rv);
61 61
62 FileSystemContext* file_system_context_; 62 FileSystemContext* file_system_context_;
63 scoped_refptr<base::MessageLoopProxy> file_thread_proxy_; 63 scoped_refptr<base::MessageLoopProxy> file_thread_proxy_;
64 ScopedRunnableMethodFactory<FileSystemURLRequestJob> method_factory_;
65 base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_; 64 base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_;
66 scoped_ptr<net::FileStream> stream_; 65 scoped_ptr<net::FileStream> stream_;
67 bool is_directory_; 66 bool is_directory_;
68 scoped_ptr<net::HttpResponseInfo> response_info_; 67 scoped_ptr<net::HttpResponseInfo> response_info_;
69 int64 remaining_bytes_; 68 int64 remaining_bytes_;
70 net::HttpByteRange byte_range_; 69 net::HttpByteRange byte_range_;
71 70
72 DISALLOW_COPY_AND_ASSIGN(FileSystemURLRequestJob); 71 DISALLOW_COPY_AND_ASSIGN(FileSystemURLRequestJob);
73 }; 72 };
74 73
75 } // namespace fileapi 74 } // namespace fileapi
76 75
77 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ 76 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698