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

Unified Diff: components/open_from_clipboard/clipboard_recent_content_generic.cc

Issue 2808413003: Omnibox - Reduce Clipboard URL Suggestions to 1 Hour (Closed)
Patch Set: 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
Index: components/open_from_clipboard/clipboard_recent_content_generic.cc
diff --git a/components/open_from_clipboard/clipboard_recent_content_generic.cc b/components/open_from_clipboard/clipboard_recent_content_generic.cc
index 4218ce1f46a06cab6a508622bc88b91a1f0e6442..87c6542b9ea8f1375987a2335b16cfecde5bf533 100644
--- a/components/open_from_clipboard/clipboard_recent_content_generic.cc
+++ b/components/open_from_clipboard/clipboard_recent_content_generic.cc
@@ -16,7 +16,7 @@ bool ClipboardRecentContentGeneric::GetRecentURLFromClipboard(GURL* url) {
(last_modified_time == last_modified_time_to_suppress_))
return false;
- if (GetClipboardContentAge() > kMaximumAgeOfClipboard)
+ if (GetClipboardContentAge() > MaximumAgeOfClipboard())
return false;
// Get and clean up the clipboard before processing.

Powered by Google App Engine
This is Rietveld 408576698