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 3ea32831378106a993d56ed8323be3906f759a6c..19e40ed975d67145253306c70bf5daddfd24ea01 100644 |
--- a/components/open_from_clipboard/clipboard_recent_content_ios.h |
+++ b/components/open_from_clipboard/clipboard_recent_content_ios.h |
@@ -37,11 +37,16 @@ class ClipboardRecentContentIOS : public ClipboardRecentContent { |
// registered. |
bool HasPasteboardChanged(base::TimeDelta uptime); |
+ // Gets the current URL in the clipboard. If the cache is out of date, updates |
+ // it. |
+ bool GetCurrentURLFromClipboard(GURL* url); |
+ |
// Loads information from the user defaults about the latest pasteboard entry. |
void LoadFromUserDefaults(); |
// ClipboardRecentContent implementation. |
bool GetRecentURLFromClipboard(GURL* url) const override; |
+ |
base::TimeDelta GetClipboardContentAge() const override; |
void SuppressClipboardContent() override; |
void RecentURLDisplayed() override; |