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

Issue 9406001: Factor out ResourceDispatcherHost dependent code around SSLManager (Closed)

Created:
8 years, 10 months ago by Takashi Toyoshima
Modified:
8 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Factor out ResourceDispatcherHost dependent code around SSLManager Because SSLManager must work with not only ResourceDispatcherHost. BUG=53836 TEST=existing tests will cover this refactoring Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126310

Patch Set 1 #

Patch Set 2 : ready for review #

Total comments: 10

Patch Set 3 : reflects wtc's review #

Total comments: 18

Patch Set 4 : reflects wtc's second review #

Patch Set 5 : merge tpayne's change #

Patch Set 6 : rebase #

Total comments: 1

Patch Set 7 : remove unused inclusion #

Total comments: 6

Patch Set 8 : fix an error on merging tpayne's change #

Total comments: 8

Patch Set 9 : reflects darin's review #

Total comments: 15

Patch Set 10 : rebase because of GetAssociatedRenderView, etc #

Patch Set 11 : reflects Darin's second review #

Patch Set 12 : catch up to trunk #

Patch Set 13 : fix a typo #

Total comments: 2

Patch Set 14 : add a new line #

Patch Set 15 : rebase for retry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -65 lines) Patch
M content/browser/renderer_host/resource_dispatcher_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -2 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +43 lines, -1 line 0 comments Download
M content/browser/ssl/ssl_cert_error_handler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/ssl/ssl_cert_error_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/ssl/ssl_error_handler.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +29 lines, -7 lines 0 comments Download
M content/browser/ssl/ssl_error_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +20 lines, -37 lines 0 comments Download
M content/browser/ssl/ssl_manager.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -4 lines 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -8 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Takashi Toyoshima
Hi Adam and Wan-Teh, I'm refactoring on SSLManager because I'd like to use it from ...
8 years, 10 months ago (2012-02-21 13:59:36 UTC) #1
wtc
Review comments on Patch Set 2: abarth should be the primary reviewer unless he is ...
8 years, 10 months ago (2012-02-22 00:36:22 UTC) #2
Takashi Toyoshima
Thanks, I reflect wtc's review comments. https://chromiumcodereview.appspot.com/9406001/diff/2001/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/2001/content/browser/renderer_host/resource_dispatcher_host.cc#newcode1489 content/browser/renderer_host/resource_dispatcher_host.cc:1489: SSLErrorHandler::instance_id instance; Now, ...
8 years, 10 months ago (2012-02-22 08:15:35 UTC) #3
wtc
Patch Set 3 LGTM. I suggest some minor changes below. It would be nice to ...
8 years, 10 months ago (2012-02-24 00:44:38 UTC) #4
abarth-chromium
LGTM
8 years, 9 months ago (2012-02-28 19:22:20 UTC) #5
Takashi Toyoshima
Thank you guys. I'll consider adding unit tests for SSLManager in another CL. https://chromiumcodereview.appspot.com/9406001/diff/3010/content/browser/renderer_host/resource_dispatcher_host.h File ...
8 years, 9 months ago (2012-02-28 20:55:43 UTC) #6
Takashi Toyoshima
Reflects http://codereview.chromium.org/9453028/ in Patch Set 5.
8 years, 9 months ago (2012-02-28 20:56:49 UTC) #7
Takashi Toyoshima
https://chromiumcodereview.appspot.com/9406001/diff/20002/content/browser/ssl/ssl_error_handler.cc File content/browser/ssl/ssl_error_handler.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/20002/content/browser/ssl/ssl_error_handler.cc#newcode9 content/browser/ssl/ssl_error_handler.cc:9: #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" Oops, I notice that this inclusion at ...
8 years, 9 months ago (2012-02-28 21:28:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/9406001/15013
8 years, 9 months ago (2012-02-28 21:28:36 UTC) #9
commit-bot: I haz the power
Presubmit check for 9406001-15013 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-02-28 21:28:43 UTC) #10
tpayne
https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request) This changed in http://codereview.chromium.org/9453028/ and should now ...
8 years, 9 months ago (2012-02-28 21:33:56 UTC) #11
wtc
https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request) On 2012/02/28 21:33:56, tpayne wrote: > This ...
8 years, 9 months ago (2012-02-28 21:49:44 UTC) #12
tpayne
https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request) On 2012/02/28 21:49:44, wtc wrote: > > ...
8 years, 9 months ago (2012-02-28 21:55:13 UTC) #13
Takashi Toyoshima
I added Darin as the final owner reviewer. Darin, could you give me a stamp ...
8 years, 9 months ago (2012-02-28 22:12:07 UTC) #14
tpayne
https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request) On 2012/02/28 22:12:07, toyoshim wrote: > Hum... ...
8 years, 9 months ago (2012-02-28 22:12:59 UTC) #15
Takashi Toyoshima
To my understanding, this CL already contains a change which is equivalent to you CL, ...
8 years, 9 months ago (2012-02-28 22:48:56 UTC) #16
tpayne
On 2012/02/28 22:48:56, toyoshim wrote: > To my understanding, this CL already contains a change ...
8 years, 9 months ago (2012-02-28 22:50:08 UTC) #17
Takashi Toyoshima
https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/15013/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request) Ah, sorry. I'm confused. I'll remove the ...
8 years, 9 months ago (2012-02-28 22:54:58 UTC) #18
darin (slow to review)
https://chromiumcodereview.appspot.com/9406001/diff/16010/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/16010/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request || !request->is_pending()) NOTE: The request switches to ...
8 years, 9 months ago (2012-02-28 23:36:44 UTC) #19
Takashi Toyoshima
https://chromiumcodereview.appspot.com/9406001/diff/16010/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9406001/diff/16010/content/browser/renderer_host/resource_dispatcher_host.cc#newcode418 content/browser/renderer_host/resource_dispatcher_host.cc:418: if (!request || !request->is_pending()) Can I keep this as ...
8 years, 9 months ago (2012-02-29 00:15:24 UTC) #20
Takashi Toyoshima
+brettw, sky Hi content/browser owners, This is for another CL. It's different from the one ...
8 years, 9 months ago (2012-03-09 18:12:59 UTC) #21
sky
LGTM
8 years, 9 months ago (2012-03-09 20:14:26 UTC) #22
darin (slow to review)
http://codereview.chromium.org/9406001/diff/22001/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): http://codereview.chromium.org/9406001/diff/22001/content/browser/renderer_host/resource_dispatcher_host.cc#newcode393 content/browser/renderer_host/resource_dispatcher_host.cc:393: DVLOG(1) << "CancelRequestForInstance() url: " << request->url().spec(); nit: the ...
8 years, 9 months ago (2012-03-09 20:49:03 UTC) #23
Takashi Toyoshima
Thanks a lot, Darin. GetAssociatedRenderView() you suggest is introduced by newer revision. So, first I ...
8 years, 9 months ago (2012-03-10 00:24:44 UTC) #24
Takashi Toyoshima
> So, first I just rebase my CL to meet at Set 9, then apply ...
8 years, 9 months ago (2012-03-10 00:26:06 UTC) #25
Takashi Toyoshima
Darin, I rebased my change because related codes are dramatically changed. Now, Patch Set 13 ...
8 years, 9 months ago (2012-03-12 20:43:19 UTC) #26
darin (slow to review)
LGTM http://codereview.chromium.org/9406001/diff/32002/content/browser/renderer_host/resource_dispatcher_host_impl.cc File content/browser/renderer_host/resource_dispatcher_host_impl.cc (right): http://codereview.chromium.org/9406001/diff/32002/content/browser/renderer_host/resource_dispatcher_host_impl.cc#newcode1945 content/browser/renderer_host/resource_dispatcher_host_impl.cc:1945: // SSLErrorHandler::Delegate --------------------------------------------------- nit: add a new line ...
8 years, 9 months ago (2012-03-12 22:10:16 UTC) #27
Takashi Toyoshima
Thanks Darin and other reviewers!! I'll land this CL via CQ. http://codereview.chromium.org/9406001/diff/32002/content/browser/renderer_host/resource_dispatcher_host_impl.cc File content/browser/renderer_host/resource_dispatcher_host_impl.cc (right): ...
8 years, 9 months ago (2012-03-12 22:13:18 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/9406001/33009
8 years, 9 months ago (2012-03-12 22:13:48 UTC) #29
commit-bot: I haz the power
Try job failure for 9406001-33009 (retry) on linux_rel for step "check_deps". It's a second try, ...
8 years, 9 months ago (2012-03-12 23:00:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/9406001/37003
8 years, 9 months ago (2012-03-12 23:30:21 UTC) #31
commit-bot: I haz the power
8 years, 9 months ago (2012-03-13 02:24:35 UTC) #32
Change committed as 126310

Powered by Google App Engine
This is Rietveld 408576698