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

Issue 2581533003: Show the Data Saver string for offline previews when Data Saver is enabled (Closed)

Created:
4 years ago by RyanSturm
Modified:
4 years ago
Reviewers:
bengr
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show the Data Saver string for offline previews when Data Saver is enabled When a user is a Data Saver user and is shown an offline preview, they should be shown the Data Saver string (i.e., "Saved Data."). When they are not a Data Saver user (i.e., Data Saver is disabled), the string should remain as "Faster Page Loaded." BUG=674754 Committed: https://crrev.com/278b11efa32d7f219eeb0bb49c1bc8cb0d907a19 Cr-Commit-Position: refs/heads/master@{#439303}

Patch Set 1 #

Total comments: 6

Patch Set 2 : bengr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -21 lines) Patch
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.cc View 1 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate_unittest.cc View 10 chunks +44 lines, -17 lines 0 comments Download
M chrome/browser/previews/previews_infobar_tab_helper.cc View 1 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
RyanSturm
bengr: PTAL, thanks
4 years ago (2016-12-15 23:33:02 UTC) #3
bengr
https://codereview.chromium.org/2581533003/diff/1/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2581533003/diff/1/chrome/browser/previews/previews_infobar_delegate.cc#newcode120 chrome/browser/previews/previews_infobar_delegate.cc:120: (is_data_saver_user_) ? IDS_PREVIEWS_INFOBAR_SAVED_DATA_TITLE Seems you want to choose a ...
4 years ago (2016-12-16 00:38:43 UTC) #5
bengr
https://codereview.chromium.org/2581533003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc (right): https://codereview.chromium.org/2581533003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc#newcode44 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc:44: web_contents, PreviewsInfoBarDelegate::LOFI, true /* is_data_saver_user*/, nit: Add a space ...
4 years ago (2016-12-16 16:45:30 UTC) #8
RyanSturm
bengr: ptal https://codereview.chromium.org/2581533003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc (right): https://codereview.chromium.org/2581533003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc#newcode44 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc:44: web_contents, PreviewsInfoBarDelegate::LOFI, true /* is_data_saver_user*/, On 2016/12/16 ...
4 years ago (2016-12-16 19:02:10 UTC) #15
bengr
lgtm
4 years ago (2016-12-16 20:35:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2581533003/60001
4 years ago (2016-12-17 00:23:36 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years ago (2016-12-17 02:57:53 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-17 02:59:42 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/278b11efa32d7f219eeb0bb49c1bc8cb0d907a19
Cr-Commit-Position: refs/heads/master@{#439303}

Powered by Google App Engine
This is Rietveld 408576698