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 #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 Loading... |
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 |
OLD | NEW |