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

Unified Diff: components/open_from_clipboard/clipboard_recent_content_ios.h

Issue 954143004: Fix detection of clipboard change after device restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 5 years, 10 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 | « no previous file | components/open_from_clipboard/clipboard_recent_content_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/open_from_clipboard/clipboard_recent_content_ios.h
diff --git a/components/open_from_clipboard/clipboard_recent_content_ios.h b/components/open_from_clipboard/clipboard_recent_content_ios.h
index 5c3ff464aec9d4ec253f5041a946203a451933b3..062d0f1b6917b668851f0d9bd9bedec5adfbff6d 100644
--- a/components/open_from_clipboard/clipboard_recent_content_ios.h
+++ b/components/open_from_clipboard/clipboard_recent_content_ios.h
@@ -30,12 +30,15 @@ class ClipboardRecentContentIOS : public ClipboardRecentContent {
ClipboardRecentContentIOS();
~ClipboardRecentContentIOS() override;
- // Loads information from the user defaults about the latest clipboard entry.
+ // Loads information from the user defaults about the latest pasteboard entry.
void LoadFromUserDefaults();
- // Saves information to the user defaults about the latest clipboard entry.
+ // Saves information to the user defaults about the latest pasteboard entry.
void SaveToUserDefaults();
// Returns the URL contained in the clipboard (if any).
GURL URLFromPasteboard();
+ // Returns whether the device has restarted since the last time a pasteboard
+ // change was detected.
+ bool DeviceRestartedSincePasteboardChanged();
// The pasteboard's change count. Increases everytime the pasteboard changes.
NSInteger lastPasteboardChangeCount_;
« no previous file with comments | « no previous file | components/open_from_clipboard/clipboard_recent_content_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698