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 #include "net/ssl/client_cert_store.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 79 } |
80 | 80 |
81 void ResourceDispatcherHostDelegate::RequestComplete( | 81 void ResourceDispatcherHostDelegate::RequestComplete( |
82 net::URLRequest* url_request, | 82 net::URLRequest* url_request, |
83 int net_error) {} | 83 int net_error) {} |
84 | 84 |
85 // Deprecated. | 85 // Deprecated. |
86 void ResourceDispatcherHostDelegate::RequestComplete( | 86 void ResourceDispatcherHostDelegate::RequestComplete( |
87 net::URLRequest* url_request) {} | 87 net::URLRequest* url_request) {} |
88 | 88 |
89 bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode( | 89 PreviewsState ResourceDispatcherHostDelegate::GetPreviewsState( |
90 const net::URLRequest& url_request, | 90 const net::URLRequest& url_request, |
91 content::ResourceContext* resource_context) { | 91 content::ResourceContext* resource_context) { |
92 return false; | 92 return PREVIEWS_UNSPECIFIED; |
93 } | 93 } |
94 | 94 |
95 NavigationData* ResourceDispatcherHostDelegate::GetNavigationData( | 95 NavigationData* ResourceDispatcherHostDelegate::GetNavigationData( |
96 net::URLRequest* request) const { | 96 net::URLRequest* request) const { |
97 return nullptr; | 97 return nullptr; |
98 } | 98 } |
99 | 99 |
100 std::unique_ptr<net::ClientCertStore> | 100 std::unique_ptr<net::ClientCertStore> |
101 ResourceDispatcherHostDelegate::CreateClientCertStore( | 101 ResourceDispatcherHostDelegate::CreateClientCertStore( |
102 ResourceContext* resource_context) { | 102 ResourceContext* resource_context) { |
103 return std::unique_ptr<net::ClientCertStore>(); | 103 return std::unique_ptr<net::ClientCertStore>(); |
104 } | 104 } |
105 | 105 |
106 void ResourceDispatcherHostDelegate::OnAbortedFrameLoad( | 106 void ResourceDispatcherHostDelegate::OnAbortedFrameLoad( |
107 const GURL& url, | 107 const GURL& url, |
108 base::TimeDelta request_loading_time) { | 108 base::TimeDelta request_loading_time) { |
109 } | 109 } |
110 | 110 |
111 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 111 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
112 } | 112 } |
113 | 113 |
114 } // namespace content | 114 } // namespace content |
OLD | NEW |