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

Unified Diff: components/open_from_clipboard/clipboard_recent_content.h

Issue 2230983002: Stop using UIPasteboardChangedNotification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unittest. Created 4 years, 4 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.h » ('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.h
diff --git a/components/open_from_clipboard/clipboard_recent_content.h b/components/open_from_clipboard/clipboard_recent_content.h
index 2aee470615d456028cae9572df04f1f10d86e14f..46e3449c3055a909c4527437c74a6a1650c7868b 100644
--- a/components/open_from_clipboard/clipboard_recent_content.h
+++ b/components/open_from_clipboard/clipboard_recent_content.h
@@ -31,10 +31,7 @@ class ClipboardRecentContent {
// Returns true if the clipboard contains a recent URL that has not been
// supressed, and copies it in |url|. Otherwise, returns false. |url| must not
// be null.
- virtual bool GetRecentURLFromClipboard(GURL* url) const = 0;
-
- // Reports that the URL contained in the pasteboard was displayed.
- virtual void RecentURLDisplayed() = 0;
+ virtual bool GetRecentURLFromClipboard(GURL* url) = 0;
// Returns how old the content of the clipboard is.
virtual base::TimeDelta GetClipboardContentAge() const = 0;
« no previous file with comments | « no previous file | components/open_from_clipboard/clipboard_recent_content_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698