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

Side by Side Diff: content/browser/appcache/appcache_url_request.cc

Issue 2974733002: Add support for subresource request fallback in AppCache for the network service.. (Closed)
Patch Set: Format changes Created 3 years, 5 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
« no previous file with comments | « content/browser/appcache/appcache_url_request.h ('k') | no next file » | 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) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 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 #include "content/browser/appcache/appcache_url_request.h" 5 #include "content/browser/appcache/appcache_url_request.h"
6 #include "net/url_request/url_request.h" 6 #include "net/url_request/url_request.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 // static 10 // static
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const std::string& name) const { 51 const std::string& name) const {
52 std::string header; 52 std::string header;
53 url_request_->GetResponseHeaderByName(name, &header); 53 url_request_->GetResponseHeaderByName(name, &header);
54 return header; 54 return header;
55 } 55 }
56 56
57 net::URLRequest* AppCacheURLRequest::GetURLRequest() { 57 net::URLRequest* AppCacheURLRequest::GetURLRequest() {
58 return url_request_; 58 return url_request_;
59 } 59 }
60 60
61 AppCacheURLRequest* AppCacheURLRequest::AsURLRequest() {
62 return this;
63 }
64
61 AppCacheURLRequest::AppCacheURLRequest(net::URLRequest* url_request) 65 AppCacheURLRequest::AppCacheURLRequest(net::URLRequest* url_request)
62 : url_request_(url_request) {} 66 : url_request_(url_request) {}
63 67
64 AppCacheURLRequest::~AppCacheURLRequest() {} 68 AppCacheURLRequest::~AppCacheURLRequest() {}
65 69
66 } // namespace content 70 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_url_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698