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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc

Issue 2940083003: Add timestamp to infobar for stale Previews (Closed)
Patch Set: test fixes Created 3 years, 6 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: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
index c36249a62f1044a5f6b96e42afb0f65e69998c9b..d67c1dd4f2058f462bf546867ab2e50043bf6086 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
@@ -60,7 +60,8 @@ void AddPreviewNavigationToBlackListCallback(
void OnLoFiResponseReceivedOnUI(content::WebContents* web_contents) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
PreviewsInfoBarDelegate::Create(
- web_contents, previews::PreviewsType::LOFI, true /* is_data_saver_user */,
+ web_contents, previews::PreviewsType::LOFI,
+ base::Time() /* previews_freshness */, true /* is_data_saver_user */,
base::Bind(&AddPreviewNavigationToBlackListCallback,
web_contents->GetBrowserContext(),
web_contents->GetController()

Powered by Google App Engine
This is Rietveld 408576698