summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/flash_clipboard_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/flash_clipboard_resource.cc')
-rw-r--r--ppapi/proxy/flash_clipboard_resource.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/ppapi/proxy/flash_clipboard_resource.cc b/ppapi/proxy/flash_clipboard_resource.cc
index 5f06402..2b665bf 100644
--- a/ppapi/proxy/flash_clipboard_resource.cc
+++ b/ppapi/proxy/flash_clipboard_resource.cc
@@ -152,5 +152,17 @@ int32_t FlashClipboardResource::WriteData(
return PP_OK;
}
+PP_Bool FlashClipboardResource::GetSequenceNumber(
+ PP_Instance instance,
+ PP_Flash_Clipboard_Type clipboard_type,
+ uint64_t* sequence_number) {
+ int32_t result =
+ SyncCall<PpapiPluginMsg_FlashClipboard_GetSequenceNumberReply>(
+ BROWSER,
+ PpapiHostMsg_FlashClipboard_GetSequenceNumber(clipboard_type),
+ sequence_number);
+ return PP_FromBool(result == PP_OK);
+}
+
} // namespace proxy
} // namespace ppapi