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

Issue 830503004: Data Reduction Proxy blocking page and resources (Closed)

Created:
5 years, 11 months ago by megjablon
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, felt
Base URL:
https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Data Reduction Proxy Blocking page and resources Adds the blocking page and resources for the Data Reduction Proxy bypass interstitials. This intersitial is shown when the user loads a resource that returns a data reduction proxy bypass on http. The user can choose to continue loading the page or go back to the previous page. If the user accepts loading the page, the intertitial will not be shown again for another 5 minutes. BUG=428408 Committed: https://crrev.com/f005db94949dda29ef9273caa01216969a229c01 Cr-Commit-Position: refs/heads/master@{#316621}

Patch Set 1 : #

Patch Set 2 : Rebase and crash fixes #

Total comments: 6

Patch Set 3 : Addressing blundell comments and rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase and rename DRPBlockingPage to DRPDebugBlockingPage #

Patch Set 6 : Test resources fix #

Total comments: 60

Patch Set 7 : Addressing bengr comments #

Patch Set 8 : Rebase #

Total comments: 2

Patch Set 9 : Rebase #

Patch Set 10 : Nits #

Patch Set 11 : Rebase #

Patch Set 12 : String fix and Rebase #

Patch Set 13 : Add webui_resources.pak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1247 lines, -31 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/components_strings.grd View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy.gypi View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/content/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/content/browser/BUILD.gn View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
A components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +192 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +319 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +433 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.h View 1 2 3 4 5 6 7 4 chunks +13 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.cc View 1 2 3 4 5 6 7 3 chunks +25 lines, -11 lines 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +19 lines, -5 lines 0 comments Download
A + components/data_reduction_proxy/content/resources/data_reduction_proxy.js View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -7 lines 0 comments Download
A components/data_reduction_proxy/content/resources/images/1x/stop_sign.png View Binary file 0 comments Download
A components/data_reduction_proxy/content/resources/images/2x/stop_sign.png View Binary file 0 comments Download
A components/data_reduction_proxy/content/resources/interstitial.css View 1 2 1 chunk +112 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/resources/interstitial.html View 1 chunk +28 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/resources/interstitial.js View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A components/data_reduction_proxy_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +26 lines, -0 lines 0 comments Download
M components/resources/OWNERS View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/resources/components_resources.grd View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A components/resources/data_reduction_proxy_resources.grdp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (26 generated)
megjablon
bengr@chromium.org: components/data_reduction_proxy/* blundell@chromium.org: All files not in components/data_reduction_proxy/*
5 years, 11 months ago (2015-01-08 00:47:25 UTC) #8
blundell
Holding off on reviewing until the discussion that I added you to offline is resolved.
5 years, 11 months ago (2015-01-08 08:13:17 UTC) #9
blundell
https://codereview.chromium.org/830503004/diff/220001/components/BUILD.gn File components/BUILD.gn (right): https://codereview.chromium.org/830503004/diff/220001/components/BUILD.gn#newcode124 components/BUILD.gn:124: if (is_ios) { The components_unittests target should have a ...
5 years, 11 months ago (2015-01-14 20:52:12 UTC) #14
agable
https://codereview.chromium.org/830503004/diff/220001/components/components_strings.grd File components/components_strings.grd (right): https://codereview.chromium.org/830503004/diff/220001/components/components_strings.grd#newcode173 components/components_strings.grd:173: <part file="data_reduction_proxy_strings.grdp" /> On 2015/01/14 20:52:12, blundell wrote: > ...
5 years, 11 months ago (2015-01-14 23:07:14 UTC) #16
megjablon
https://codereview.chromium.org/830503004/diff/220001/components/BUILD.gn File components/BUILD.gn (right): https://codereview.chromium.org/830503004/diff/220001/components/BUILD.gn#newcode124 components/BUILD.gn:124: if (is_ios) { On 2015/01/14 20:52:11, blundell wrote: > ...
5 years, 11 months ago (2015-01-15 00:52:00 UTC) #17
blundell
lgtm
5 years, 11 months ago (2015-01-15 01:07:18 UTC) #18
agable
On 2015/01/15 at 01:07:18, blundell wrote: > lgtm Please land this so I can land ...
5 years, 11 months ago (2015-01-21 23:05:57 UTC) #19
megjablon
On 2015/01/21 23:05:57, agable wrote: > On 2015/01/15 at 01:07:18, blundell wrote: > > lgtm ...
5 years, 11 months ago (2015-01-21 23:09:40 UTC) #20
agable
On 2015/01/21 at 23:09:40, megjablon wrote: > On 2015/01/21 23:05:57, agable wrote: > > On ...
5 years, 11 months ago (2015-01-22 21:20:08 UTC) #21
bengr
Looks pretty good. https://codereview.chromium.org/830503004/diff/320001/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc File components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc (right): https://codereview.chromium.org/830503004/diff/320001/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc#newcode17 components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc:17: const std::string& app_locale) #include <string> https://codereview.chromium.org/830503004/diff/320001/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.cc ...
5 years, 10 months ago (2015-02-05 01:30:10 UTC) #23
megjablon
https://codereview.chromium.org/830503004/diff/320001/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc File components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc (right): https://codereview.chromium.org/830503004/diff/320001/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc#newcode17 components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc:17: const std::string& app_locale) On 2015/02/05 01:30:08, bengr wrote: > ...
5 years, 10 months ago (2015-02-13 01:48:09 UTC) #25
bengr
lgtm with nits. https://codereview.chromium.org/830503004/diff/380001/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h File components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h (right): https://codereview.chromium.org/830503004/diff/380001/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h#newcode158 components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h:158: // Owns this DataReductionproxyDebugBlockingPage Add a ...
5 years, 10 months ago (2015-02-13 16:34:33 UTC) #26
sadrul
DEPS on ui/base/ lgtm
5 years, 10 months ago (2015-02-14 00:35:45 UTC) #29
scottmg
build/ lgtm
5 years, 10 months ago (2015-02-14 01:03:33 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830503004/600001
5 years, 10 months ago (2015-02-17 19:06:01 UTC) #41
commit-bot: I haz the power
Committed patchset #13 (id:600001)
5 years, 10 months ago (2015-02-17 19:10:07 UTC) #42
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 19:10:50 UTC) #43
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/f005db94949dda29ef9273caa01216969a229c01
Cr-Commit-Position: refs/heads/master@{#316621}

Powered by Google App Engine
This is Rietveld 408576698