Chromium Code Reviews| Index: content/renderer/renderer_blink_platform_impl.cc |
| diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc |
| index 2b4bc1023cc0c826b69d42719a3ac4a1cdacdd32..1daf2a19d966242ed16075419dd2774fe28f772c 100644 |
| --- a/content/renderer/renderer_blink_platform_impl.cc |
| +++ b/content/renderer/renderer_blink_platform_impl.cc |
| @@ -1021,6 +1021,18 @@ blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode( |
| //------------------------------------------------------------------------------ |
| +void RendererBlinkPlatformImpl::recordRappor( |
| + const char* metric, const blink::WebString& sample) { |
|
Alexei Svitkine (slow)
2015/04/07 21:01:56
Nit: 1 param per line when the first one wraps. I
kojii
2015/04/08 07:21:23
Done, didn't know "git cl format", very nice, than
|
| + content::GetContentClient()->renderer()->RecordRappor(metric, sample.utf8()); |
| +} |
| + |
| +void RendererBlinkPlatformImpl::recordRapporURL( |
| + const char* metric, const blink::WebURL& url) { |
| + content::GetContentClient()->renderer()->RecordRapporURL(metric, url); |
|
jam
2015/04/07 20:57:44
here and above, remove "content::"
kojii
2015/04/08 07:21:23
Done.
|
| +} |
| + |
| +//------------------------------------------------------------------------------ |
| + |
| // static |
| void RendererBlinkPlatformImpl::SetMockDeviceLightDataForTesting(double data) { |
| g_test_device_light_data = data; |