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

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: fix typo in elide_url.cc 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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 1081
1082 //------------------------------------------------------------------------------ 1082 //------------------------------------------------------------------------------
1083 1083
1084 blink::WebCompositorSupport* RendererBlinkPlatformImpl::compositorSupport() { 1084 blink::WebCompositorSupport* RendererBlinkPlatformImpl::compositorSupport() {
1085 return &compositor_support_; 1085 return &compositor_support_;
1086 } 1086 }
1087 1087
1088 //------------------------------------------------------------------------------ 1088 //------------------------------------------------------------------------------
1089 1089
1090 blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode( 1090 blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode(
1091 const blink::WebString& host, 1091 const blink::WebString& host) {
1092 const blink::WebString& languages) { 1092 return url_formatter::IDNToUnicode(host.utf8());
1093 return url_formatter::IDNToUnicode(host.utf8(), languages.utf8());
1094 } 1093 }
1095 1094
1096 //------------------------------------------------------------------------------ 1095 //------------------------------------------------------------------------------
1097 1096
1098 void RendererBlinkPlatformImpl::recordRappor(const char* metric, 1097 void RendererBlinkPlatformImpl::recordRappor(const char* metric,
1099 const blink::WebString& sample) { 1098 const blink::WebString& sample) {
1100 GetContentClient()->renderer()->RecordRappor(metric, sample.utf8()); 1099 GetContentClient()->renderer()->RecordRappor(metric, sample.utf8());
1101 } 1100 }
1102 1101
1103 void RendererBlinkPlatformImpl::recordRapporURL(const char* metric, 1102 void RendererBlinkPlatformImpl::recordRapporURL(const char* metric,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 } 1286 }
1288 1287
1289 //------------------------------------------------------------------------------ 1288 //------------------------------------------------------------------------------
1290 1289
1291 blink::WebTrialTokenValidator* 1290 blink::WebTrialTokenValidator*
1292 RendererBlinkPlatformImpl::trialTokenValidator() { 1291 RendererBlinkPlatformImpl::trialTokenValidator() {
1293 return &trial_token_validator_; 1292 return &trial_token_validator_;
1294 } 1293 }
1295 1294
1296 } // namespace content 1295 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698