Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
index 569f94c5202247c70acec0a420343effdc7c1289..6767c895d17044e3d3bec4ff8816d5670cd248e4 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -933,6 +933,10 @@ void PepperPluginDelegateImpl::SyncGetFileSystemPlatformPath( |
url, platform_path)); |
} |
+void PepperPluginDelegateImpl::GetDeviceID(std::string* id) { |
+ RenderThreadImpl::current()->Send(new PepperMsg_GetDeviceID(id)); |
+} |
+ |
scoped_refptr<base::MessageLoopProxy> |
PepperPluginDelegateImpl::GetFileThreadMessageLoopProxy() { |
return RenderThreadImpl::current()->GetFileThreadMessageLoopProxy(); |
@@ -1280,6 +1284,12 @@ double PepperPluginDelegateImpl::GetLocalTimeZoneOffset(base::Time t) { |
return result; |
} |
+std::string PepperPluginDelegateImpl::GetDeviceID() { |
+ std::string result; |
+ render_view_->Send(new PepperMsg_GetDeviceID(&result)); |
+ return result; |
+} |
+ |
base::SharedMemory* PepperPluginDelegateImpl::CreateAnonymousSharedMemory( |
uint32_t size) { |
if (size == 0) |