| 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 | |
| 187 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 179 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 188 const GURL& url, ResourceContext* context) { | 180 const GURL& url, ResourceContext* context) { |
| 189 return NULL; | 181 return NULL; |
| 190 } | 182 } |
| 191 | 183 |
| 192 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 184 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
| 193 BrowserContext* browser_context, | 185 BrowserContext* browser_context, |
| 194 const GURL& site) { | 186 const GURL& site) { |
| 195 return std::string(); | 187 return std::string(); |
| 196 } | 188 } |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 #endif | 335 #endif |
| 344 | 336 |
| 345 bool ContentBrowserClient::CheckMediaAccessPermission( | 337 bool ContentBrowserClient::CheckMediaAccessPermission( |
| 346 BrowserContext* browser_context, | 338 BrowserContext* browser_context, |
| 347 const GURL& security_origin, | 339 const GURL& security_origin, |
| 348 MediaStreamType type) { | 340 MediaStreamType type) { |
| 349 return false; | 341 return false; |
| 350 } | 342 } |
| 351 | 343 |
| 352 } // namespace content | 344 } // namespace content |
| OLD | NEW |