OLD | NEW |
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 CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ | 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ |
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 DeliveryType delivery_type_; | 174 DeliveryType delivery_type_; |
175 GURL manifest_url_; | 175 GURL manifest_url_; |
176 int64_t group_id_; | 176 int64_t group_id_; |
177 int64_t cache_id_; | 177 int64_t cache_id_; |
178 AppCacheEntry entry_; | 178 AppCacheEntry entry_; |
179 bool is_fallback_; | 179 bool is_fallback_; |
180 bool is_main_resource_; // Used for histogram logging. | 180 bool is_main_resource_; // Used for histogram logging. |
181 bool cache_entry_not_found_; | 181 bool cache_entry_not_found_; |
182 scoped_refptr<AppCacheResponseInfo> info_; | 182 scoped_refptr<AppCacheResponseInfo> info_; |
183 scoped_refptr<net::GrowableIOBuffer> handler_source_buffer_; | 183 scoped_refptr<net::GrowableIOBuffer> handler_source_buffer_; |
184 scoped_ptr<AppCacheResponseReader> handler_source_reader_; | 184 std::unique_ptr<AppCacheResponseReader> handler_source_reader_; |
185 net::HttpByteRange range_requested_; | 185 net::HttpByteRange range_requested_; |
186 scoped_ptr<net::HttpResponseInfo> range_response_info_; | 186 std::unique_ptr<net::HttpResponseInfo> range_response_info_; |
187 scoped_ptr<AppCacheResponseReader> reader_; | 187 std::unique_ptr<AppCacheResponseReader> reader_; |
188 scoped_refptr<AppCache> cache_; | 188 scoped_refptr<AppCache> cache_; |
189 scoped_refptr<AppCacheGroup> group_; | 189 scoped_refptr<AppCacheGroup> group_; |
190 const OnPrepareToRestartCallback on_prepare_to_restart_callback_; | 190 const OnPrepareToRestartCallback on_prepare_to_restart_callback_; |
191 base::WeakPtrFactory<AppCacheURLRequestJob> weak_factory_; | 191 base::WeakPtrFactory<AppCacheURLRequestJob> weak_factory_; |
192 }; | 192 }; |
193 | 193 |
194 } // namespace content | 194 } // namespace content |
195 | 195 |
196 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ | 196 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_ |
OLD | NEW |