| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 const base::string16& name, | 162 const base::string16& name, |
| 163 ResourceContext* context, | 163 ResourceContext* context, |
| 164 const std::vector<std::pair<int, int> >& render_frames) { | 164 const std::vector<std::pair<int, int> >& render_frames) { |
| 165 return true; | 165 return true; |
| 166 } | 166 } |
| 167 | 167 |
| 168 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 168 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
| 169 return NULL; | 169 return NULL; |
| 170 } | 170 } |
| 171 | 171 |
| 172 void ContentBrowserClient::SelectClientCertificate( | |
| 173 int render_process_id, | |
| 174 int render_frame_id, | |
| 175 net::SSLCertRequestInfo* cert_request_info, | |
| 176 const base::Callback<void(net::X509Certificate*)>& callback) { | |
| 177 callback.Run(NULL); | |
| 178 } | |
| 179 | |
| 180 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 172 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 181 const GURL& url, ResourceContext* context) { | 173 const GURL& url, ResourceContext* context) { |
| 182 return NULL; | 174 return NULL; |
| 183 } | 175 } |
| 184 | 176 |
| 185 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 177 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
| 186 BrowserContext* browser_context, | 178 BrowserContext* browser_context, |
| 187 const GURL& site) { | 179 const GURL& site) { |
| 188 return std::string(); | 180 return std::string(); |
| 189 } | 181 } |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 #endif | 353 #endif |
| 362 | 354 |
| 363 bool ContentBrowserClient::CheckMediaAccessPermission( | 355 bool ContentBrowserClient::CheckMediaAccessPermission( |
| 364 BrowserContext* browser_context, | 356 BrowserContext* browser_context, |
| 365 const GURL& security_origin, | 357 const GURL& security_origin, |
| 366 MediaStreamType type) { | 358 MediaStreamType type) { |
| 367 return false; | 359 return false; |
| 368 } | 360 } |
| 369 | 361 |
| 370 } // namespace content | 362 } // namespace content |
| OLD | NEW |