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

Unified Diff: components/open_from_clipboard/clipboard_recent_content.h

Issue 2817003003: Get maximum age of clipboard from clipboard_recent_contents.cc in iOS impl (Closed)
Patch Set: fix generic + rebase Created 3 years, 8 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.cc » ('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 93e9a50ff08e4c644d3ec075160f496efe1bf988..78a1b49c4bff4965019abee2ab5733234f42aa75 100644
--- a/components/open_from_clipboard/clipboard_recent_content.h
+++ b/components/open_from_clipboard/clipboard_recent_content.h
@@ -43,7 +43,7 @@ class ClipboardRecentContent {
protected:
// GetRecentURLFromClipboard() should never return a URL from a clipboard
// older than this.
- const base::TimeDelta kMaximumAgeOfClipboard = base::TimeDelta::FromHours(3);
+ static base::TimeDelta MaximumAgeOfClipboard();
// Returns true if the URL is appropriate to be suggested.
static bool IsAppropriateSuggestion(const GURL& url);
« no previous file with comments | « no previous file | components/open_from_clipboard/clipboard_recent_content.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698