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

Issue 1986953002: Move SecurityStyleChanged logic and tests to chrome/browser/ssl (Closed)

Created:
4 years, 7 months ago by estark
Modified:
4 years, 7 months ago
Reviewers:
palmer, msw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move SecurityStyleChanged logic and tests to chrome/browser/ssl Browser::GetSecurityStyle() does a whole bunch of stuff to compute explanations about the SSL status of the page. This CL moves this logic into a method of ChromeSecurityStateModelClient, in chrome/browser/ssl, and its tests as well. The code fits better there since it expresses a lot of Chrome-specific SSL logic. BUG=604339 Committed: https://crrev.com/09dbe8e1141646f0e6168179daded505daf34c92 Cr-Commit-Position: refs/heads/master@{#395197}

Patch Set 1 #

Patch Set 2 : remove unnecessary namespace #

Total comments: 8

Patch Set 3 : msw comments #

Patch Set 4 : minor cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+617 lines, -603 lines) Patch
M chrome/browser/ssl/chrome_security_state_model_client.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 chunks +123 lines, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 2 3 5 chunks +482 lines, -23 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 chunks +2 lines, -116 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 5 chunks +0 lines, -464 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
estark
msw: can you please review chrome/browser/ui? palmer: can you please review chrome/browser/ssl? This shuffles some ...
4 years, 7 months ago (2016-05-17 20:38:49 UTC) #2
palmer
lgtm
4 years, 7 months ago (2016-05-17 22:37:29 UTC) #3
msw
lgtm with nits and qs. https://codereview.chromium.org/1986953002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/1986953002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode92 chrome/browser/ssl/chrome_security_state_model_client.cc:92: content::WebContents* web_contents, nit: remove ...
4 years, 7 months ago (2016-05-18 17:20:24 UTC) #4
estark
Thanks! https://codereview.chromium.org/1986953002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/1986953002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode92 chrome/browser/ssl/chrome_security_state_model_client.cc:92: content::WebContents* web_contents, On 2016/05/18 17:20:24, msw wrote: > ...
4 years, 7 months ago (2016-05-20 22:12:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986953002/60001
4 years, 7 months ago (2016-05-20 22:17:36 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-20 23:17:08 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 23:19:01 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/09dbe8e1141646f0e6168179daded505daf34c92
Cr-Commit-Position: refs/heads/master@{#395197}

Powered by Google App Engine
This is Rietveld 408576698