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 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 // chrome.system.network.getNetworkInterfaces provides the same | 1409 // chrome.system.network.getNetworkInterfaces provides the same |
1410 // information. Also, the enforcement of sending and binding UDP is already done | 1410 // information. Also, the enforcement of sending and binding UDP is already done |
1411 // by chrome extension permission model. | 1411 // by chrome extension permission model. |
1412 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 1412 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
1413 #if defined(ENABLE_EXTENSIONS) | 1413 #if defined(ENABLE_EXTENSIONS) |
1414 return !IsStandaloneExtensionProcess(); | 1414 return !IsStandaloneExtensionProcess(); |
1415 #else | 1415 #else |
1416 return true; | 1416 return true; |
1417 #endif | 1417 #endif |
1418 } | 1418 } |
| 1419 |
| 1420 base::StringPiece ChromeContentRendererClient::GetOriginTrialPublicKey() { |
| 1421 return origin_trial_key_manager_.GetPublicKey(); |
| 1422 } |
OLD | NEW |