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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 2088763004: Remove resource_context.h include from resource_loader.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 6 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/public/browser/resource_dispatcher_host_delegate.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) 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 #include "content/public/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 #include "content/public/browser/navigation_data.h" 7 #include "content/public/browser/navigation_data.h"
8 #include "content/public/browser/resource_request_info.h" 8 #include "content/public/browser/resource_request_info.h"
9 #include "content/public/browser/stream_info.h" 9 #include "content/public/browser/stream_info.h"
10 #include "net/ssl/client_cert_store.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 14 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
14 const std::string& method, 15 const std::string& method,
15 const GURL& url, 16 const GURL& url,
16 ResourceType resource_type, 17 ResourceType resource_type,
17 ResourceContext* resource_context) { 18 ResourceContext* resource_context) {
18 return true; 19 return true;
19 } 20 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const net::URLRequest& url_request, 97 const net::URLRequest& url_request,
97 content::ResourceContext* resource_context) { 98 content::ResourceContext* resource_context) {
98 return false; 99 return false;
99 } 100 }
100 101
101 NavigationData* ResourceDispatcherHostDelegate::GetNavigationData( 102 NavigationData* ResourceDispatcherHostDelegate::GetNavigationData(
102 net::URLRequest* request) const { 103 net::URLRequest* request) const {
103 return nullptr; 104 return nullptr;
104 } 105 }
105 106
106 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 107 std::unique_ptr<net::ClientCertStore>
108 ResourceDispatcherHostDelegate::CreateClientCertStore(
109 ResourceContext* resource_context) {
110 return std::unique_ptr<net::ClientCertStore>();
107 } 111 }
108 112
109 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 113 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
110 } 114 }
111 115
112 } // namespace content 116 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698