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

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

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, most Android targets locally built successfully Created 4 years, 8 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
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 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 1100
1101 //------------------------------------------------------------------------------ 1101 //------------------------------------------------------------------------------
1102 1102
1103 blink::WebCompositorSupport* RendererBlinkPlatformImpl::compositorSupport() { 1103 blink::WebCompositorSupport* RendererBlinkPlatformImpl::compositorSupport() {
1104 return &compositor_support_; 1104 return &compositor_support_;
1105 } 1105 }
1106 1106
1107 //------------------------------------------------------------------------------ 1107 //------------------------------------------------------------------------------
1108 1108
1109 blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode( 1109 blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode(
1110 const blink::WebString& host, 1110 const blink::WebString& host) {
1111 const blink::WebString& languages) { 1111 return url_formatter::IDNToUnicode(host.utf8());
1112 return url_formatter::IDNToUnicode(host.utf8(), languages.utf8());
1113 } 1112 }
1114 1113
1115 //------------------------------------------------------------------------------ 1114 //------------------------------------------------------------------------------
1116 1115
1117 void RendererBlinkPlatformImpl::recordRappor(const char* metric, 1116 void RendererBlinkPlatformImpl::recordRappor(const char* metric,
1118 const blink::WebString& sample) { 1117 const blink::WebString& sample) {
1119 GetContentClient()->renderer()->RecordRappor(metric, sample.utf8()); 1118 GetContentClient()->renderer()->RecordRappor(metric, sample.utf8());
1120 } 1119 }
1121 1120
1122 void RendererBlinkPlatformImpl::recordRapporURL(const char* metric, 1121 void RendererBlinkPlatformImpl::recordRapporURL(const char* metric,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 } 1305 }
1307 1306
1308 //------------------------------------------------------------------------------ 1307 //------------------------------------------------------------------------------
1309 1308
1310 blink::WebTrialTokenValidator* 1309 blink::WebTrialTokenValidator*
1311 RendererBlinkPlatformImpl::trialTokenValidator() { 1310 RendererBlinkPlatformImpl::trialTokenValidator() {
1312 return &trial_token_validator_; 1311 return &trial_token_validator_;
1313 } 1312 }
1314 1313
1315 } // namespace content 1314 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698