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

Issue 441043005: Cleanup of SSLHostStateDelegate and related code (Closed)

Created:
6 years, 4 months ago by jww
Modified:
6 years, 3 months ago
CC:
jam
Project:
chromium
Visibility:
Public.

Description

Cleanup of SSLHostStateDelegate and related code. This is a general cleanup of some minor issues, mostly style and comments, for SSLHostStateDelegate and related classes and methods. This was done originally as a C++ readability review request, originally based on https://codereview.chromium.org/369703002/. Committed: https://crrev.com/a18a71f89a845d9acc83ca9ddbac35b9a463633f Cr-Commit-Position: refs/heads/master@{#293443}

Patch Set 1 #

Patch Set 2 : Rebase on ToT #

Total comments: 30

Patch Set 3 : Readability changes from willchan #

Total comments: 4

Patch Set 4 : const and pass-by-ref changes #

Total comments: 5

Patch Set 5 : Rebase on ToT #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -99 lines) Patch
M chrome/browser/ssl/chrome_ssl_host_state_delegate.h View 1 2 3 5 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/ssl/chrome_ssl_host_state_delegate.cc View 1 2 3 15 chunks +33 lines, -27 lines 0 comments Download
M chrome/browser/ssl/chrome_ssl_host_state_delegate_factory.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc View 1 2 3 24 chunks +48 lines, -47 lines 0 comments Download
M content/browser/ssl/ssl_policy.cc View 1 2 3 4 chunks +5 lines, -3 lines 0 comments Download
M content/browser/ssl/ssl_policy_backend.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/ssl/ssl_policy_backend.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M content/public/browser/ssl_host_state_delegate.h View 1 2 3 2 chunks +3 lines, -3 lines 2 comments Download

Messages

Total messages: 23 (3 generated)
jww
6 years, 4 months ago (2014-08-18 19:19:28 UTC) #1
jww
Reassigned from haranp -> willchan for readability.
6 years, 4 months ago (2014-08-19 18:12:05 UTC) #2
willchan no longer on Chromium
Overall, the changelist is quite clean, so thanks to the previous reviewers for maintaining the ...
6 years, 4 months ago (2014-08-20 22:17:22 UTC) #3
jww
https://codereview.chromium.org/441043005/diff/20001/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc File chrome/browser/ssl/chrome_ssl_host_state_delegate.cc (right): https://codereview.chromium.org/441043005/diff/20001/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc#newcode75 chrome/browser/ssl/chrome_ssl_host_state_delegate.cc:75: // non-negative value in seconds or a value of ...
6 years, 4 months ago (2014-08-22 00:54:17 UTC) #4
willchan no longer on Chromium
OK, last readability comments. Thanks to you and your reviewers for making sure the changelist ...
6 years, 3 months ago (2014-09-04 00:02:38 UTC) #5
jww
https://codereview.chromium.org/441043005/diff/40001/chrome/browser/ssl/chrome_ssl_host_state_delegate.h File chrome/browser/ssl/chrome_ssl_host_state_delegate.h (right): https://codereview.chromium.org/441043005/diff/40001/chrome/browser/ssl/chrome_ssl_host_state_delegate.h#newcode32 chrome/browser/ssl/chrome_ssl_host_state_delegate.h:32: const net::X509Certificate* cert, On 2014/09/04 00:02:38, willchan OOO until ...
6 years, 3 months ago (2014-09-04 18:41:49 UTC) #6
willchan no longer on Chromium
lgtm https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc File chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc (right): https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc#newcode70 chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc:70: *google_cert.get(), Doesn't bug me, but it might bug ...
6 years, 3 months ago (2014-09-04 20:26:49 UTC) #7
willchan no longer on Chromium
After you commit, I'll close the readability bug which will grant you readability.
6 years, 3 months ago (2014-09-04 20:27:08 UTC) #8
Ryan Sleevi
https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc File chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc (right): https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc#newcode70 chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc:70: *google_cert.get(), On 2014/09/04 20:26:49, willchan OOO until 03-22-15 wrote: ...
6 years, 3 months ago (2014-09-04 20:28:17 UTC) #10
willchan no longer on Chromium
https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc File chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc (right): https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc#newcode70 chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc:70: *google_cert.get(), On 2014/09/04 20:28:16, Ryan Sleevi wrote: > On ...
6 years, 3 months ago (2014-09-04 20:33:13 UTC) #11
jww
sleevi@, can you OWNER review of chrome/browser/ssl/*? jam@, can you OWNER review content/*? Thanks! https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc ...
6 years, 3 months ago (2014-09-04 20:56:16 UTC) #12
willchan no longer on Chromium
https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc File chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc (right): https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc#newcode70 chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc:70: *google_cert.get(), On 2014/09/04 20:56:16, jww wrote: > On 2014/09/04 ...
6 years, 3 months ago (2014-09-04 21:25:23 UTC) #14
Ryan Sleevi
On 2014/09/04 21:25:23, willchan OOO until 03-22-15 wrote: > https://codereview.chromium.org/441043005/diff/60001/chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc > File chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc (right): > ...
6 years, 3 months ago (2014-09-04 21:42:10 UTC) #15
willchan no longer on Chromium
On 2014/09/04 21:42:10, Ryan Sleevi wrote: > On 2014/09/04 21:25:23, willchan OOO until 03-22-15 wrote: ...
6 years, 3 months ago (2014-09-04 21:43:52 UTC) #16
Ryan Sleevi
OK, paying attention to the review now, rather than the odd will comment. This LGTM, ...
6 years, 3 months ago (2014-09-04 21:46:24 UTC) #17
jam
lgtm
6 years, 3 months ago (2014-09-04 22:28:12 UTC) #18
jww
https://codereview.chromium.org/441043005/diff/80001/content/public/browser/ssl_host_state_delegate.h File content/public/browser/ssl_host_state_delegate.h (right): https://codereview.chromium.org/441043005/diff/80001/content/public/browser/ssl_host_state_delegate.h#newcode30 content/public/browser/ssl_host_state_delegate.h:30: const net::X509Certificate& cert, On 2014/09/04 21:46:24, Ryan Sleevi wrote: ...
6 years, 3 months ago (2014-09-05 00:16:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/441043005/80001
6 years, 3 months ago (2014-09-05 00:21:30 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001) as a0582c6e4a663945c88e675b206102b42eeaa6b4
6 years, 3 months ago (2014-09-05 04:58:05 UTC) #22
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:36:56 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a18a71f89a845d9acc83ca9ddbac35b9a463633f
Cr-Commit-Position: refs/heads/master@{#293443}

Powered by Google App Engine
This is Rietveld 408576698