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

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

Issue 2581533003: Show the Data Saver string for offline previews when Data Saver is enabled (Closed)
Patch Set: Created 4 years 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 17be700ecddff935f0924a272fa7db8a7d1853a7..6430abac312d72d041aa5576a62f7ab816eafdca 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
@@ -41,7 +41,7 @@ namespace {
void OnLoFiResponseReceivedOnUI(content::WebContents* web_contents) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
PreviewsInfoBarDelegate::Create(
- web_contents, PreviewsInfoBarDelegate::LOFI,
+ web_contents, PreviewsInfoBarDelegate::LOFI, true /* is_data_saver_user*/,
bengr 2016/12/16 16:45:30 nit: Add a space after 'user'
RyanSturm 2016/12/16 19:02:09 Done.
PreviewsInfoBarDelegate::OnDismissPreviewsInfobarCallback());
}

Powered by Google App Engine
This is Rietveld 408576698