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/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 const base::string16& name, | 169 const base::string16& name, |
170 ResourceContext* context, | 170 ResourceContext* context, |
171 const std::vector<std::pair<int, int> >& render_frames) { | 171 const std::vector<std::pair<int, int> >& render_frames) { |
172 return true; | 172 return true; |
173 } | 173 } |
174 | 174 |
175 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 175 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
176 return NULL; | 176 return NULL; |
177 } | 177 } |
178 | 178 |
| 179 void ContentBrowserClient::SelectClientCertificate( |
| 180 int render_process_id, |
| 181 int render_frame_id, |
| 182 net::SSLCertRequestInfo* cert_request_info, |
| 183 const base::Callback<void(net::X509Certificate*)>& callback) { |
| 184 callback.Run(NULL); |
| 185 } |
| 186 |
179 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 187 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
180 const GURL& url, ResourceContext* context) { | 188 const GURL& url, ResourceContext* context) { |
181 return NULL; | 189 return NULL; |
182 } | 190 } |
183 | 191 |
184 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 192 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
185 BrowserContext* browser_context, | 193 BrowserContext* browser_context, |
186 const GURL& site) { | 194 const GURL& site) { |
187 return std::string(); | 195 return std::string(); |
188 } | 196 } |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 | 336 |
329 #if defined(VIDEO_HOLE) | 337 #if defined(VIDEO_HOLE) |
330 ExternalVideoSurfaceContainer* | 338 ExternalVideoSurfaceContainer* |
331 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 339 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
332 WebContents* web_contents) { | 340 WebContents* web_contents) { |
333 return NULL; | 341 return NULL; |
334 } | 342 } |
335 #endif | 343 #endif |
336 | 344 |
337 } // namespace content | 345 } // namespace content |
OLD | NEW |