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