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

Unified Diff: components/open_from_clipboard/clipboard_recent_content.h

Issue 2808413003: Omnibox - Reduce Clipboard URL Suggestions to 1 Hour (Closed)
Patch Set: cleanup field trial.h 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
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 e7d55e92e1d3811e1f45c38d8e4a299c68fd8301..50b60e6f8634277d3f05230b775004f04b1f7528 100644
--- a/components/open_from_clipboard/clipboard_recent_content.h
+++ b/components/open_from_clipboard/clipboard_recent_content.h
@@ -42,7 +42,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);

Powered by Google App Engine
This is Rietveld 408576698