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/renderer/renderer_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.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/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 | 1290 |
1291 //------------------------------------------------------------------------------ | 1291 //------------------------------------------------------------------------------ |
1292 | 1292 |
1293 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting( | 1293 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting( |
1294 const blink::WebBatteryStatus& status) { | 1294 const blink::WebBatteryStatus& status) { |
1295 if (!g_test_battery_status_listener) | 1295 if (!g_test_battery_status_listener) |
1296 return; | 1296 return; |
1297 g_test_battery_status_listener->updateBatteryStatus(status); | 1297 g_test_battery_status_listener->updateBatteryStatus(status); |
1298 } | 1298 } |
1299 | 1299 |
| 1300 //------------------------------------------------------------------------------ |
| 1301 |
| 1302 blink::WebTrialTokenValidator* |
| 1303 RendererBlinkPlatformImpl::trialTokenValidator() { |
| 1304 return &trial_token_validator_; |
| 1305 } |
| 1306 |
1300 } // namespace content | 1307 } // namespace content |
OLD | NEW |