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_; |