| 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 |
| 172 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 180 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 173 const GURL& url, ResourceContext* context) { | 181 const GURL& url, ResourceContext* context) { |
| 174 return NULL; | 182 return NULL; |
| 175 } | 183 } |
| 176 | 184 |
| 177 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 185 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
| 178 BrowserContext* browser_context, | 186 BrowserContext* browser_context, |
| 179 const GURL& site) { | 187 const GURL& site) { |
| 180 return std::string(); | 188 return std::string(); |
| 181 } | 189 } |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 #endif | 361 #endif |
| 354 | 362 |
| 355 bool ContentBrowserClient::CheckMediaAccessPermission( | 363 bool ContentBrowserClient::CheckMediaAccessPermission( |
| 356 BrowserContext* browser_context, | 364 BrowserContext* browser_context, |
| 357 const GURL& security_origin, | 365 const GURL& security_origin, |
| 358 MediaStreamType type) { | 366 MediaStreamType type) { |
| 359 return false; | 367 return false; |
| 360 } | 368 } |
| 361 | 369 |
| 362 } // namespace content | 370 } // namespace content |
| OLD | NEW |