Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1680873002: [Experimental Framework] Move trial token code to renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add boringssl dependency to content/renderer/ Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698