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

Unified Diff: ppapi/proxy/flash_clipboard_resource.cc

Issue 136183002: Add GetSequenceNumber function to PPB_Flash_Clipboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/flash_clipboard_resource.h ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/flash_clipboard_resource.cc
diff --git a/ppapi/proxy/flash_clipboard_resource.cc b/ppapi/proxy/flash_clipboard_resource.cc
index 5f064023f35832d7bd4891a82e84357c7f295f96..2b665bfa0593ca85f706ab10e9ce10c04c2ce7db 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
« no previous file with comments | « ppapi/proxy/flash_clipboard_resource.h ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698