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

Issue 1149083013: Combine ChannelIDService::RequestHandle and ChannelIDServiceRequest classes (Closed)

Created:
5 years, 6 months ago by nharper
Modified:
5 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, cbentzel+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Combine ChannelIDService::RequestHandle and ChannelIDServiceRequest classes BUG=486265 Committed: https://crrev.com/75ade89a5463673304e182c1e19f3e9288fb200d Cr-Commit-Position: refs/heads/master@{#333770}

Patch Set 1 #

Patch Set 2 : Fix order of variables #

Total comments: 2

Patch Set 3 : ChannelIDService::Request::Cancel() now deletes ptr to Request from ChannelIDServiceJob #

Total comments: 10

Patch Set 4 : Address comments #

Total comments: 2

Patch Set 5 : Remove unused ChannelIDService::CancelRequest; add DCHECK to ChannelIDService::Request::Post #

Total comments: 3

Patch Set 6 : Remove new test case and combine it with existing one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -255 lines) Patch
M chrome/browser/extensions/api/messaging/message_property_provider.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_messages_apitest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M net/quic/crypto/channel_id_chromium.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/ssl/channel_id_service.h View 1 2 3 4 7 chunks +19 lines, -24 lines 0 comments Download
M net/ssl/channel_id_service.cc View 1 2 3 4 12 chunks +74 lines, -124 lines 0 comments Download
M net/ssl/channel_id_service_unittest.cc View 1 2 3 4 5 22 chunks +87 lines, -91 lines 0 comments Download

Messages

Total messages: 27 (3 generated)
nharper
Fix order of variables
5 years, 6 months ago (2015-06-04 23:06:27 UTC) #1
nharper
5 years, 6 months ago (2015-06-04 23:09:08 UTC) #3
mattm
https://codereview.chromium.org/1149083013/diff/20001/net/ssl/channel_id_service.cc File net/ssl/channel_id_service.cc (right): https://codereview.chromium.org/1149083013/diff/20001/net/ssl/channel_id_service.cc#newcode214 net/ssl/channel_id_service.cc:214: Cancel(); How does this work? The service will still ...
5 years, 6 months ago (2015-06-06 00:27:15 UTC) #4
nharper
https://codereview.chromium.org/1149083013/diff/20001/net/ssl/channel_id_service.cc File net/ssl/channel_id_service.cc (right): https://codereview.chromium.org/1149083013/diff/20001/net/ssl/channel_id_service.cc#newcode214 net/ssl/channel_id_service.cc:214: Cancel(); On 2015/06/06 00:27:14, mattm wrote: > How does ...
5 years, 6 months ago (2015-06-06 00:47:12 UTC) #5
nharper
ChannelIDService::Request::Cancel() now deletes ptr to Request from ChannelIDServiceJob
5 years, 6 months ago (2015-06-08 19:10:24 UTC) #6
nharper
I've updated ChannelIDService::Request to delete the pointer to it in ChannelIDServiceJob when Request::Cancel() is called. ...
5 years, 6 months ago (2015-06-08 19:20:20 UTC) #7
mattm
On 2015/06/08 19:20:20, nharper wrote: > I've updated ChannelIDService::Request to delete the pointer to it ...
5 years, 6 months ago (2015-06-08 23:59:30 UTC) #8
nharper
Address comments
5 years, 6 months ago (2015-06-09 19:16:59 UTC) #9
nharper
On 2015/06/08 23:59:30, mattm wrote: > Dunno if cancelling the job is worth the effort. ...
5 years, 6 months ago (2015-06-09 19:19:21 UTC) #10
nharper
https://codereview.chromium.org/1149083013/diff/40001/net/ssl/channel_id_service.cc File net/ssl/channel_id_service.cc (left): https://codereview.chromium.org/1149083013/diff/40001/net/ssl/channel_id_service.cc#oldcode235 net/ssl/channel_id_service.cc:235: ~ChannelIDServiceJob() { On 2015/06/08 23:59:30, mattm wrote: > Maybe ...
5 years, 6 months ago (2015-06-09 19:19:32 UTC) #11
mattm
https://codereview.chromium.org/1149083013/diff/40001/net/ssl/channel_id_service.cc File net/ssl/channel_id_service.cc (right): https://codereview.chromium.org/1149083013/diff/40001/net/ssl/channel_id_service.cc#newcode279 net/ssl/channel_id_service.cc:279: if (!callback_.is_null()) { On 2015/06/09 19:19:32, nharper wrote: > ...
5 years, 6 months ago (2015-06-09 19:32:24 UTC) #12
mattm
https://codereview.chromium.org/1149083013/diff/60001/net/ssl/channel_id_service.cc File net/ssl/channel_id_service.cc (right): https://codereview.chromium.org/1149083013/diff/60001/net/ssl/channel_id_service.cc#newcode477 net/ssl/channel_id_service.cc:477: void ChannelIDService::CancelRequest(Request* req) { Is this still used?
5 years, 6 months ago (2015-06-09 20:06:39 UTC) #13
nharper
Remove unused ChannelIDService::CancelRequest; add DCHECK to ChannelIDService::Request::Post
5 years, 6 months ago (2015-06-09 21:30:13 UTC) #14
nharper
https://codereview.chromium.org/1149083013/diff/40001/net/ssl/channel_id_service.cc File net/ssl/channel_id_service.cc (right): https://codereview.chromium.org/1149083013/diff/40001/net/ssl/channel_id_service.cc#newcode279 net/ssl/channel_id_service.cc:279: if (!callback_.is_null()) { On 2015/06/09 19:32:24, mattm wrote: > ...
5 years, 6 months ago (2015-06-09 21:30:16 UTC) #15
mattm
https://codereview.chromium.org/1149083013/diff/80001/net/ssl/channel_id_service_unittest.cc File net/ssl/channel_id_service_unittest.cc (right): https://codereview.chromium.org/1149083013/diff/80001/net/ssl/channel_id_service_unittest.cc#newcode372 net/ssl/channel_id_service_unittest.cc:372: TEST_F(ChannelIDServiceTest, DestructionOfChannelIDServiceRequest) { Is this test different than ChannelIDServiceTest.CancelRequestByHandleDestruction?
5 years, 6 months ago (2015-06-09 23:08:36 UTC) #16
nharper
Remove new test case and combine it with existing one
5 years, 6 months ago (2015-06-09 23:43:49 UTC) #17
nharper
https://codereview.chromium.org/1149083013/diff/80001/net/ssl/channel_id_service_unittest.cc File net/ssl/channel_id_service_unittest.cc (right): https://codereview.chromium.org/1149083013/diff/80001/net/ssl/channel_id_service_unittest.cc#newcode372 net/ssl/channel_id_service_unittest.cc:372: TEST_F(ChannelIDServiceTest, DestructionOfChannelIDServiceRequest) { On 2015/06/09 23:08:35, mattm wrote: > ...
5 years, 6 months ago (2015-06-09 23:45:03 UTC) #18
mattm
lgtm https://codereview.chromium.org/1149083013/diff/80001/net/ssl/channel_id_service_unittest.cc File net/ssl/channel_id_service_unittest.cc (right): https://codereview.chromium.org/1149083013/diff/80001/net/ssl/channel_id_service_unittest.cc#newcode372 net/ssl/channel_id_service_unittest.cc:372: TEST_F(ChannelIDServiceTest, DestructionOfChannelIDServiceRequest) { On 2015/06/09 23:45:03, nharper wrote: ...
5 years, 6 months ago (2015-06-10 00:14:24 UTC) #19
nharper
+kalman for //chrome/browser/extensions
5 years, 6 months ago (2015-06-10 00:30:24 UTC) #21
juanlang (chromium.org)
I'm happy to lgtm for form's sake, but mattm@'s and kalman@'s are worth more than ...
5 years, 6 months ago (2015-06-10 03:15:48 UTC) #22
not at google - send to devlin
extensions lgtm (rubber stamp)
5 years, 6 months ago (2015-06-10 18:27:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083013/100001
5 years, 6 months ago (2015-06-10 18:27:56 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-10 19:05:48 UTC) #26
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 19:06:42 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/75ade89a5463673304e182c1e19f3e9288fb200d
Cr-Commit-Position: refs/heads/master@{#333770}

Powered by Google App Engine
This is Rietveld 408576698