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