| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 #endif | 343 #endif |
| 336 | 344 |
| 337 bool ContentBrowserClient::CheckMediaAccessPermission( | 345 bool ContentBrowserClient::CheckMediaAccessPermission( |
| 338 BrowserContext* browser_context, | 346 BrowserContext* browser_context, |
| 339 const GURL& security_origin, | 347 const GURL& security_origin, |
| 340 MediaStreamType type) { | 348 MediaStreamType type) { |
| 341 return false; | 349 return false; |
| 342 } | 350 } |
| 343 | 351 |
| 344 } // namespace content | 352 } // namespace content |
| OLD | NEW |