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

Side by Side Diff: webkit/appcache/appcache_url_request_job.h

Issue 8399019: base::Bind usage (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
6 #define WEBKIT_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/task.h" 10 #include "base/memory/weak_ptr.h"
11 #include "net/http/http_byte_range.h" 11 #include "net/http/http_byte_range.h"
12 #include "net/url_request/url_request_job.h" 12 #include "net/url_request/url_request_job.h"
13 #include "webkit/appcache/appcache_entry.h" 13 #include "webkit/appcache/appcache_entry.h"
14 #include "webkit/appcache/appcache_export.h" 14 #include "webkit/appcache/appcache_export.h"
15 #include "webkit/appcache/appcache_response.h" 15 #include "webkit/appcache/appcache_response.h"
16 #include "webkit/appcache/appcache_storage.h" 16 #include "webkit/appcache/appcache_storage.h"
17 17
18 namespace appcache { 18 namespace appcache {
19 19
20 // A net::URLRequestJob derivative that knows how to return a response stored 20 // A net::URLRequestJob derivative that knows how to return a response stored
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 int64 group_id_; 130 int64 group_id_;
131 int64 cache_id_; 131 int64 cache_id_;
132 AppCacheEntry entry_; 132 AppCacheEntry entry_;
133 bool is_fallback_; 133 bool is_fallback_;
134 bool cache_entry_not_found_; 134 bool cache_entry_not_found_;
135 scoped_refptr<AppCacheResponseInfo> info_; 135 scoped_refptr<AppCacheResponseInfo> info_;
136 net::HttpByteRange range_requested_; 136 net::HttpByteRange range_requested_;
137 scoped_ptr<net::HttpResponseInfo> range_response_info_; 137 scoped_ptr<net::HttpResponseInfo> range_response_info_;
138 scoped_ptr<AppCacheResponseReader> reader_; 138 scoped_ptr<AppCacheResponseReader> reader_;
139 net::OldCompletionCallbackImpl<AppCacheURLRequestJob> read_callback_; 139 net::OldCompletionCallbackImpl<AppCacheURLRequestJob> read_callback_;
140 ScopedRunnableMethodFactory<AppCacheURLRequestJob> method_factory_; 140 base::WeakPtrFactory<AppCacheURLRequestJob> weak_factory_;
141 }; 141 };
142 142
143 } // namespace appcache 143 } // namespace appcache
144 144
145 #endif // WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ 145 #endif // WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_service_unittest.cc ('k') | webkit/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698