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

Issue 1467063002: Introduce the ChromeControllerClient class (Closed)

Created:
5 years, 1 month ago by felt
Modified:
5 years ago
CC:
chromium-reviews, grt+watch_chromium.org, blundell
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce the ChromeControllerClient class security_interstitials::ControllerClient needs to be subclassed by a standalone class, instead of being part of the SecurityInterstitialPage. Eventually, future classes like security_interstitials::ClockError will take ControllerClients as inputs. Until all of the blocking pages have been updated to take ControllerClients, the functionality needs to remain available from within the SecurityInterstitialPage, so I've put in some temporary wrapper methods. BUG=488673 TBR=cschuet@chromium.org Committed: https://crrev.com/9de47c5151c1d75d710d22cfa8defb90ff1e7f1e Cr-Commit-Position: refs/heads/master@{#361245}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changes for estark #

Patch Set 3 : Move enum from ControllerClient into security_interstitials:: #

Patch Set 4 : Bugfix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -127 lines) Patch
A chrome/browser/interstitials/chrome_controller_client.h View 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/interstitials/chrome_controller_client.cc View 1 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_page.h View 1 4 chunks +15 lines, -16 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_page.cc View 3 chunks +13 lines, -27 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_page_test_utils.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 7 chunks +15 lines, -13 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 2 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ssl/captive_portal_blocking_page.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/cert_report_helper.cc View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/security_interstitials/core/controller_client.h View 1 2 1 chunk +33 lines, -27 lines 0 comments Download
M components/security_interstitials/core/controller_client.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
felt
estark, PTAL? [[ Sorry to mail over the weekend, I had this prepped and ready ...
5 years, 1 month ago (2015-11-22 10:22:32 UTC) #3
estark
lgtm with a couple tiny nits/questions https://codereview.chromium.org/1467063002/diff/1/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/1467063002/diff/1/chrome/browser/interstitials/chrome_controller_client.cc#newcode9 chrome/browser/interstitials/chrome_controller_client.cc:9: #include "chrome/browser/net/referrer.h" Are ...
5 years ago (2015-11-23 16:25:23 UTC) #4
felt
https://codereview.chromium.org/1467063002/diff/1/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/1467063002/diff/1/chrome/browser/interstitials/chrome_controller_client.cc#newcode9 chrome/browser/interstitials/chrome_controller_client.cc:9: #include "chrome/browser/net/referrer.h" On 2015/11/23 16:25:23, estark wrote: > Are ...
5 years ago (2015-11-24 00:18:11 UTC) #5
felt
additional owners, PTAL nparker - c/b/safe_browsing/ cschuet - trivial renaming in c/b/policy (TBR)
5 years ago (2015-11-24 00:33:32 UTC) #9
Nathan Parker
lgtm for c/b/safe_browsing/
5 years ago (2015-11-24 00:50:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467063002/60001
5 years ago (2015-11-24 00:59:07 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-24 03:30:04 UTC) #14
commit-bot: I haz the power
5 years ago (2015-11-24 03:31:03 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9de47c5151c1d75d710d22cfa8defb90ff1e7f1e
Cr-Commit-Position: refs/heads/master@{#361245}

Powered by Google App Engine
This is Rietveld 408576698