| 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..c2f2ac6fec4916519779bb73c4c3c2c820b280ff 100644
|
| --- a/content/renderer/renderer_blink_platform_impl.cc
|
| +++ b/content/renderer/renderer_blink_platform_impl.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "cc/blink/context_provider_web_context.h"
|
| +#include "components/rappor/content/common/rappor_messages.h"
|
| #include "content/child/database_util.h"
|
| #include "content/child/file_info_util.h"
|
| #include "content/child/fileapi/webfilesystem_impl.h"
|
| @@ -1021,6 +1022,14 @@ blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode(
|
|
|
| //------------------------------------------------------------------------------
|
|
|
| +void RendererBlinkPlatformImpl::recordRappor(
|
| + const char* metric, const blink::WebString& sample) {
|
| + RenderThread::Get()->Send(
|
| + new RapporHostMsg_RecordSample(metric, sample.utf8()));
|
| +}
|
| +
|
| +//------------------------------------------------------------------------------
|
| +
|
| // static
|
| void RendererBlinkPlatformImpl::SetMockDeviceLightDataForTesting(double data) {
|
| g_test_device_light_data = data;
|
|
|