| 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 "chrome/renderer/chrome_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/crash_logging.h" | 10 #include "base/debug/crash_logging.h" |
| (...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 // chrome.system.network.getNetworkInterfaces provides the same | 1415 // chrome.system.network.getNetworkInterfaces provides the same |
| 1416 // information. Also, the enforcement of sending and binding UDP is already done | 1416 // information. Also, the enforcement of sending and binding UDP is already done |
| 1417 // by chrome extension permission model. | 1417 // by chrome extension permission model. |
| 1418 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 1418 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
| 1419 #if defined(ENABLE_EXTENSIONS) | 1419 #if defined(ENABLE_EXTENSIONS) |
| 1420 return !IsStandaloneExtensionProcess(); | 1420 return !IsStandaloneExtensionProcess(); |
| 1421 #else | 1421 #else |
| 1422 return true; | 1422 return true; |
| 1423 #endif | 1423 #endif |
| 1424 } | 1424 } |
| 1425 | |
| 1426 base::StringPiece ChromeContentRendererClient::GetOriginTrialPublicKey() { | |
| 1427 return origin_trial_key_manager_.GetPublicKey(); | |
| 1428 } | |
| OLD | NEW |