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

Side by Side Diff: content/browser/loader/url_loader_request_handler.cc

Issue 2982363002: Add support for fallback content for the frame. This includes main and subframes. (Closed)
Patch Set: More cleanup 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 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/loader/url_loader_request_handler.h" 5 #include "content/browser/loader/url_loader_request_handler.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 mojom::URLLoaderFactoryPtr 9 mojom::URLLoaderFactoryPtr
10 URLLoaderRequestHandler::MaybeCreateSubresourceFactory() { 10 URLLoaderRequestHandler::MaybeCreateSubresourceFactory() {
11 return nullptr; 11 return nullptr;
12 } 12 }
13 13
14 bool URLLoaderRequestHandler::MaybeGetFallbackForResponse(
15 const ResourceResponseHead& response,
16 mojom::URLLoaderClientPtr* client,
17 mojom::URLLoaderRequest* request) {
18 return false;
19 }
20
21 bool URLLoaderRequestHandler::MaybeGetFallbackForRedirect(
22 const ResourceResponseHead& response,
23 const net::RedirectInfo& redirect_info,
24 mojom::URLLoaderClientPtr* client,
25 mojom::URLLoaderRequest* request) {
26 return false;
27 }
28
14 } // namespace content 29 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698