| 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 "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 } | 204 } |
| 205 | 205 |
| 206 #if BUILDFLAG(ENABLE_WEBRTC) | 206 #if BUILDFLAG(ENABLE_WEBRTC) |
| 207 bool ContentBrowserClient::AllowWebRTCIdentityCache(const GURL& url, | 207 bool ContentBrowserClient::AllowWebRTCIdentityCache(const GURL& url, |
| 208 const GURL& first_party_url, | 208 const GURL& first_party_url, |
| 209 ResourceContext* context) { | 209 ResourceContext* context) { |
| 210 return true; | 210 return true; |
| 211 } | 211 } |
| 212 #endif // BUILDFLAG(ENABLE_WEBRTC) | 212 #endif // BUILDFLAG(ENABLE_WEBRTC) |
| 213 | 213 |
| 214 bool ContentBrowserClient::AllowKeygen(const GURL& url, | |
| 215 content::ResourceContext* context) { | |
| 216 return true; | |
| 217 } | |
| 218 | |
| 219 ContentBrowserClient::AllowWebBluetoothResult | 214 ContentBrowserClient::AllowWebBluetoothResult |
| 220 ContentBrowserClient::AllowWebBluetooth( | 215 ContentBrowserClient::AllowWebBluetooth( |
| 221 content::BrowserContext* browser_context, | 216 content::BrowserContext* browser_context, |
| 222 const url::Origin& requesting_origin, | 217 const url::Origin& requesting_origin, |
| 223 const url::Origin& embedding_origin) { | 218 const url::Origin& embedding_origin) { |
| 224 return AllowWebBluetoothResult::ALLOW; | 219 return AllowWebBluetoothResult::ALLOW; |
| 225 } | 220 } |
| 226 | 221 |
| 227 std::string ContentBrowserClient::GetWebBluetoothBlocklist() { | 222 std::string ContentBrowserClient::GetWebBluetoothBlocklist() { |
| 228 return std::string(); | 223 return std::string(); |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 std::unique_ptr<MemoryCoordinatorDelegate> | 427 std::unique_ptr<MemoryCoordinatorDelegate> |
| 433 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 428 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 434 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 429 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
| 435 } | 430 } |
| 436 | 431 |
| 437 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { | 432 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { |
| 438 return nullptr; | 433 return nullptr; |
| 439 } | 434 } |
| 440 | 435 |
| 441 } // namespace content | 436 } // namespace content |
| OLD | NEW |