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

Issue 2395663002: Collapse SSLPolicy/SSLPolicyBackend into SSLManager (Closed)

Created:
4 years, 2 months ago by estark
Modified:
4 years, 2 months ago
Reviewers:
jam
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, Randy Smith (Not in Mondays), darin-cc_chromium.org, loading-reviews_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Collapse SSLPolicy/SSLPolicyBackend into SSLManager SSLManager, SSLPolicy, and SSLPolicyBackend all pretty much ferry events from one to the other, without any clear division of responsibility among them. This CL collapses all the functionality into SSLManager for clearer code. BUG=558491 Committed: https://crrev.com/f83ac1214add3b33a716f090415e5a87910c7273 Cr-Commit-Position: refs/heads/master@{#423240}

Patch Set 1 #

Patch Set 2 : remove SSLPolicyBackend, fix bug #

Patch Set 3 : remove unnecessary forward decalre #

Total comments: 1

Patch Set 4 : fix test flake #

Total comments: 4

Patch Set 5 : jam comments #

Patch Set 6 : remove accidentally added temp file... oops... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+367 lines, -577 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 3 chunks +97 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/loader/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/loader/resource_loader.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/ssl/ssl_manager.h View 1 2 3 4 5 chunks +30 lines, -18 lines 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 6 chunks +226 lines, -28 lines 0 comments Download
D content/browser/ssl/ssl_policy.h View 1 chunk +0 lines, -88 lines 0 comments Download
D content/browser/ssl/ssl_policy.cc View 1 chunk +0 lines, -266 lines 0 comments Download
D content/browser/ssl/ssl_policy_backend.h View 1 1 chunk +0 lines, -70 lines 0 comments Download
D content/browser/ssl/ssl_policy_backend.cc View 1 1 chunk +0 lines, -85 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 3 chunks +12 lines, -8 lines 0 comments Download
M content/public/browser/ssl_host_state_delegate.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
estark
jam, PTAL? I think we've discussed before that the SSLManager/SSLPolicy/SSLPolicyBackend separation doesn't seem to do ...
4 years, 2 months ago (2016-10-05 00:27:57 UTC) #8
jam
lgtm agree this much easier to understand than before, thanks. https://codereview.chromium.org/2395663002/diff/60001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2395663002/diff/60001/chrome/browser/ssl/ssl_browser_tests.cc#newcode261 ...
4 years, 2 months ago (2016-10-05 16:36:03 UTC) #15
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/2395663002/80001
4 years, 2 months ago (2016-10-05 16:52:53 UTC) #18
estark
Thanks jam! https://codereview.chromium.org/2395663002/diff/60001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2395663002/diff/60001/chrome/browser/ssl/ssl_browser_tests.cc#newcode261 chrome/browser/ssl/ssl_browser_tests.cc:261: std::string encodeQueryStr(const std::string& query) { On 2016/10/05 ...
4 years, 2 months ago (2016-10-05 16:53:06 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/310567)
4 years, 2 months ago (2016-10-05 17:58:40 UTC) #21
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/2395663002/100001
4 years, 2 months ago (2016-10-05 18:02:13 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-05 19:06:27 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 19:08:50 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f83ac1214add3b33a716f090415e5a87910c7273
Cr-Commit-Position: refs/heads/master@{#423240}

Powered by Google App Engine
This is Rietveld 408576698