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

Unified Diff: ppapi/cpp/private/flash_clipboard.h

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/c/private/ppb_flash_clipboard.h ('k') | ppapi/cpp/private/flash_clipboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/flash_clipboard.h
diff --git a/ppapi/cpp/private/flash_clipboard.h b/ppapi/cpp/private/flash_clipboard.h
index aab06efb1e91a67f5f81fb392c2d47121ce09510..0df6028cf5a35b5f6e1da8d7c972ab834b255346 100644
--- a/ppapi/cpp/private/flash_clipboard.h
+++ b/ppapi/cpp/private/flash_clipboard.h
@@ -45,6 +45,12 @@ class Clipboard {
PP_Flash_Clipboard_Type clipboard_type,
const std::vector<uint32_t>& formats,
const std::vector<Var>& data_items);
+
+ // Outputs a sequence number that uniquely identifies the clipboard state in
+ // |sequence_number| and returns true if successful.
+ static bool GetSequenceNumber(const InstanceHandle& instance,
+ PP_Flash_Clipboard_Type clipboard_type,
+ uint64_t* sequence_number);
};
} // namespace flash
« no previous file with comments | « ppapi/c/private/ppb_flash_clipboard.h ('k') | ppapi/cpp/private/flash_clipboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698