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

Issue 15969025: Generates the DTLS identity in browser process and returns it to render process. (Closed)

Created:
7 years, 6 months ago by jiayl
Modified:
7 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, juberti
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Generates the DTLS identity in browser process and returns it to the renderer process. This is the first part of implementing a persistent identity store for WebRTC in Chrome. It implements the IPC messages to request and return the DTLS identity and the identity generation in browser process. A persistent store based on SQLite DB will be implemented later. DTLSIdentityService: used in the renderer process to request a DTLS identity. It sends an IPC to the browser process and receives the reply containing the identity in a callback. DTLSIdentityServiceHost: listens for the IPC message from DTLSIdentityService and passes the request to DTLSIdentityStore. DTLSIdentityStore: created per RenerProcessHost. For now it always generates a new identity on a worker thread for each request, without any caching or persistent storage. BUG=https://code.google.com/p/webrtc/issues/detail?id=1864 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209499

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Total comments: 28

Patch Set 3 : async #

Patch Set 4 : #

Total comments: 38

Patch Set 5 : fix #

Total comments: 19

Patch Set 6 : #

Total comments: 13

Patch Set 7 : fix #

Total comments: 1

Patch Set 8 : #

Patch Set 9 : #

Total comments: 33

Patch Set 10 : #

Total comments: 30

Patch Set 11 : #

Total comments: 10

Patch Set 12 : #

Total comments: 13

Patch Set 13 : #

Total comments: 5

Patch Set 14 : #

Total comments: 17

Patch Set 15 : #

Total comments: 18

Patch Set 16 : fix #

Total comments: 7

Patch Set 17 : #

Total comments: 18

Patch Set 18 : #

Total comments: 51

Patch Set 19 : #

Total comments: 7

Patch Set 20 : #

Patch Set 21 : sync #

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : #

Patch Set 25 : #

Patch Set 26 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+718 lines, -10 lines) Patch
A content/browser/media/webrtc_identity_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +74 lines, -0 lines 0 comments Download
A content/browser/media/webrtc_identity_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +180 lines, -0 lines 0 comments Download
A content/browser/media/webrtc_identity_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +104 lines, -0 lines 0 comments Download
A content/browser/renderer_host/media/webrtc_identity_service_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +66 lines, -0 lines 0 comments Download
A content/browser/renderer_host/media/webrtc_identity_service_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +80 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +7 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +6 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +13 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -3 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
A content/common/media/webrtc_identity_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +32 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
A content/renderer/media/webrtc_identity_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +51 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc_identity_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +82 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -1 line 0 comments Download
M net/base/net_error_list.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 80 (0 generated)
jiayl
Could you take a look? jam: content/, content/common/, tsepez: security review for the new IPC ...
7 years, 6 months ago (2013-06-04 17:24:21 UTC) #1
sky
https://codereview.chromium.org/15969025/diff/2001/content/browser/renderer_host/render_process_host_impl.h File content/browser/renderer_host/render_process_host_impl.h (right): https://codereview.chromium.org/15969025/diff/2001/content/browser/renderer_host/render_process_host_impl.h#newcode333 content/browser/renderer_host/render_process_host_impl.h:333: scoped_refptr<DTLSIdentityServiceHost> dtls_identity_service_host_; if defined(ENABLE_WEBRTC)?
7 years, 6 months ago (2013-06-04 17:46:06 UTC) #2
Tom Sepez
Messages - my only concern is what the interaction might be in a site-isolated world. ...
7 years, 6 months ago (2013-06-04 17:57:32 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.cc#newcode8 content/browser/media/dtls_identity_store.cc:8: #include <cert.h> BUG: You cannot depend on this header ...
7 years, 6 months ago (2013-06-04 19:13:52 UTC) #4
Ami GONE FROM CHROMIUM
Only looked at content/renderer/media/ https://codereview.chromium.org/15969025/diff/2001/content/renderer/media/dtls_identity_service.h File content/renderer/media/dtls_identity_service.h (right): https://codereview.chromium.org/15969025/diff/2001/content/renderer/media/dtls_identity_service.h#newcode19 content/renderer/media/dtls_identity_service.h:19: DTLSIdentityService(const GURL& url); explicit https://codereview.chromium.org/15969025/diff/2001/content/renderer/media/dtls_identity_service.h#newcode20 ...
7 years, 6 months ago (2013-06-04 19:29:09 UTC) #5
jam
did you run this in a debug build? it's not clear how this doesn't assert: ...
7 years, 6 months ago (2013-06-04 19:36:33 UTC) #6
jiayl
On 2013/06/04 17:57:32, Tom Sepez wrote: > Messages - my only concern is what the ...
7 years, 6 months ago (2013-06-04 19:58:48 UTC) #7
Tom Sepez
> Currently the webrtc DTLS certificate is generated in the renderer process; my > change ...
7 years, 6 months ago (2013-06-04 20:03:46 UTC) #8
jiayl
https://codereview.chromium.org/15969025/diff/2001/content/browser/renderer_host/render_process_host_impl.h File content/browser/renderer_host/render_process_host_impl.h (right): https://codereview.chromium.org/15969025/diff/2001/content/browser/renderer_host/render_process_host_impl.h#newcode333 content/browser/renderer_host/render_process_host_impl.h:333: scoped_refptr<DTLSIdentityServiceHost> dtls_identity_service_host_; On 2013/06/04 17:46:07, sky wrote: > if ...
7 years, 6 months ago (2013-06-04 20:23:10 UTC) #9
jiayl
> Does this really need to be a sync IPC? I strongly suggest making it ...
7 years, 6 months ago (2013-06-04 21:08:54 UTC) #10
jam
On 2013/06/04 21:08:54, jiayl wrote: > > Does this really need to be a sync ...
7 years, 6 months ago (2013-06-04 21:11:18 UTC) #11
Ryan Sleevi
Yes. This is why I pointed you at the asynchronous API of Origin Bound Certs ...
7 years, 6 months ago (2013-06-04 21:11:27 UTC) #12
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.cc#newcode19 content/browser/media/dtls_identity_store.cc:19: #include "net/cert/x509_util_nss.h" On 2013/06/04 20:23:10, jiayl wrote: > On ...
7 years, 6 months ago (2013-06-04 21:14:58 UTC) #13
sky
LGTM
7 years, 6 months ago (2013-06-04 21:20:24 UTC) #14
Charlie Reis
On 2013/06/04 20:03:46, Tom Sepez wrote: > > Currently the webrtc DTLS certificate is generated ...
7 years, 6 months ago (2013-06-04 21:44:34 UTC) #15
jiayl
But cookies are requested through sync IPC ViewHostMsg_GetCookies<https://code.google.com/p/chromium/codesearch#chromium/src/content/common/view_messages.h&ct=xref_usages&gs=cpp:class-ViewHostMsg_GetCookies@chromium/content/common/view_messages.h%257Cdef&l=1642&gsn=ViewHostMsg_GetCookies> . On Tue, Jun 4, 2013 at ...
7 years, 6 months ago (2013-06-04 21:59:26 UTC) #16
jam
On 2013/06/04 21:59:26, jiayl wrote: > But cookies are requested through sync IPC That's different: ...
7 years, 6 months ago (2013-06-04 22:44:22 UTC) #17
jiayl
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h#newcode24 content/browser/media/dtls_identity_store.h:24: static DTLSIdentityStore* GetInstance(); On 2013/06/04 19:13:52, Ryan Sleevi wrote: ...
7 years, 6 months ago (2013-06-05 00:08:08 UTC) #18
jiayl
The new patch changes the sync IPC message to async and resolves other comments. PTAL. ...
7 years, 6 months ago (2013-06-06 05:10:24 UTC) #19
jam
https://codereview.chromium.org/15969025/diff/27001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/27001/content/browser/media/dtls_identity_store.cc#newcode20 content/browser/media/dtls_identity_store.cc:20: namespace { put this in the content namespace as ...
7 years, 6 months ago (2013-06-06 16:22:32 UTC) #20
jiayl
PTAL https://codereview.chromium.org/15969025/diff/27001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/27001/content/browser/media/dtls_identity_store.cc#newcode20 content/browser/media/dtls_identity_store.cc:20: namespace { On 2013/06/06 16:22:32, jam wrote: > ...
7 years, 6 months ago (2013-06-06 17:07:36 UTC) #21
Ami GONE FROM CHROMIUM
only skimmed the code outside media. https://codereview.chromium.org/15969025/diff/38001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/38001/content/browser/media/dtls_identity_store.cc#newcode69 content/browser/media/dtls_identity_store.cc:69: base::Bind(callback, certificate, priveta_key)); ...
7 years, 6 months ago (2013-06-06 18:28:51 UTC) #22
jiayl
Comments resolved. PTAL. https://codereview.chromium.org/15969025/diff/38001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/38001/content/browser/media/dtls_identity_store.cc#newcode69 content/browser/media/dtls_identity_store.cc:69: base::Bind(callback, certificate, priveta_key)); On 2013/06/06 18:28:51, ...
7 years, 6 months ago (2013-06-06 21:00:08 UTC) #23
Ami GONE FROM CHROMIUM
Do you have this working with a libjingle end-to-end now? (do you plan to land ...
7 years, 6 months ago (2013-06-06 21:33:04 UTC) #24
Ami GONE FROM CHROMIUM
One idea for end-to-end testing: add a UMA histogram to the browser with a bucket ...
7 years, 6 months ago (2013-06-06 21:34:42 UTC) #25
jiayl
Comments resolved. dtls_identity_service_unittest is removed. PTAL I tested that it works end to end by ...
7 years, 6 months ago (2013-06-06 22:53:38 UTC) #26
Ami GONE FROM CHROMIUM
content/renderer/media LGTM https://codereview.chromium.org/15969025/diff/59001/content/renderer/media/dtls_identity_service.h File content/renderer/media/dtls_identity_service.h (right): https://codereview.chromium.org/15969025/diff/59001/content/renderer/media/dtls_identity_service.h#newcode22 content/renderer/media/dtls_identity_service.h:22: virtual ~DTLSIdentityObserver() {} clang may complain about ...
7 years, 6 months ago (2013-06-06 22:56:45 UTC) #27
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h#newcode24 content/browser/media/dtls_identity_store.h:24: static DTLSIdentityStore* GetInstance(); On 2013/06/05 00:08:09, jiayl wrote: > ...
7 years, 6 months ago (2013-06-06 23:57:36 UTC) #28
jiayl
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h#newcode41 content/browser/media/dtls_identity_store.h:41: const OnCompleteCallback& callback But ServerBoundCertService does not remove a ...
7 years, 6 months ago (2013-06-07 00:24:06 UTC) #29
jiayl
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h#newcode24 content/browser/media/dtls_identity_store.h:24: static DTLSIdentityStore* GetInstance(); jam@, could you give some suggestion ...
7 years, 6 months ago (2013-06-07 00:31:25 UTC) #30
jam
https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/4002/content/browser/media/dtls_identity_store.h#newcode24 content/browser/media/dtls_identity_store.h:24: static DTLSIdentityStore* GetInstance(); if this code is per profile, ...
7 years, 6 months ago (2013-06-07 00:46:49 UTC) #31
jiayl
PTAL. All comments resolved: 1. moved the DTLSIdentityStore object into StoragePartition and removed the singleton ...
7 years, 6 months ago (2013-06-13 21:50:44 UTC) #32
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.cc#newcode22 content/browser/media/dtls_identity_store.cc:22: namespace { STYLE: Linebreak https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.cc#newcode112 content/browser/media/dtls_identity_store.cc:112: DCHECK(request_ == NULL); ...
7 years, 6 months ago (2013-06-13 22:36:47 UTC) #33
jiayl
PTAL https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.cc#newcode22 content/browser/media/dtls_identity_store.cc:22: namespace { On 2013/06/13 22:36:47, Ryan Sleevi wrote: ...
7 years, 6 months ago (2013-06-14 00:37:01 UTC) #34
jam
https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.h#newcode33 content/browser/media/dtls_identity_store.h:33: class RequestHandle { On 2013/06/14 00:37:01, jiayl wrote: > ...
7 years, 6 months ago (2013-06-14 23:33:13 UTC) #35
jiayl
All comments resolved. PTAL. Thanks! https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/71001/content/browser/media/dtls_identity_store.h#newcode33 content/browser/media/dtls_identity_store.h:33: class RequestHandle { On ...
7 years, 6 months ago (2013-06-17 17:54:49 UTC) #36
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/102002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/102002/content/browser/media/dtls_identity_store.cc#newcode110 content/browser/media/dtls_identity_store.cc:110: store_(store), request_(NULL), callback_(callback) { STYLE: Please see http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Constructor_Initializer_Lists#Constructor_Initializer_Lists about ...
7 years, 6 months ago (2013-06-17 18:13:22 UTC) #37
jiayl
PTAL https://codereview.chromium.org/15969025/diff/102002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/102002/content/browser/media/dtls_identity_store.cc#newcode110 content/browser/media/dtls_identity_store.cc:110: store_(store), request_(NULL), callback_(callback) { On 2013/06/17 18:13:23, Ryan ...
7 years, 6 months ago (2013-06-17 18:58:00 UTC) #38
jam
https://codereview.chromium.org/15969025/diff/119001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/119001/content/browser/media/dtls_identity_store.cc#newcode105 content/browser/media/dtls_identity_store.cc:105: class DTLSIdentityRequestHandle { I don't understand why you need ...
7 years, 6 months ago (2013-06-17 21:36:23 UTC) #39
jiayl
PTAL. Thanks! https://codereview.chromium.org/15969025/diff/119001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/119001/content/browser/media/dtls_identity_store.cc#newcode105 content/browser/media/dtls_identity_store.cc:105: class DTLSIdentityRequestHandle { On 2013/06/17 21:36:23, jam ...
7 years, 6 months ago (2013-06-17 22:16:17 UTC) #40
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/102002/content/browser/media/dtls_identity_store.h File content/browser/media/dtls_identity_store.h (right): https://codereview.chromium.org/15969025/diff/102002/content/browser/media/dtls_identity_store.h#newcode51 content/browser/media/dtls_identity_store.h:51: explicit DTLSIdentityStore( On 2013/06/17 18:58:00, jiayl wrote: > On ...
7 years, 6 months ago (2013-06-17 23:08:34 UTC) #41
jam
https://codereview.chromium.org/15969025/diff/119001/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/119001/content/browser/media/dtls_identity_store.cc#newcode105 content/browser/media/dtls_identity_store.cc:105: class DTLSIdentityRequestHandle { On 2013/06/17 22:16:17, jiayl wrote: > ...
7 years, 6 months ago (2013-06-18 00:03:17 UTC) #42
jiayl
All comments addressed, except for the persistent private key slot one. https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): ...
7 years, 6 months ago (2013-06-18 01:07:55 UTC) #43
jam
https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc#newcode151 content/browser/media/dtls_identity_store.cc:151: : task_runner_(base::WorkerPool::GetTaskRunner(true)) {} On 2013/06/18 01:07:55, jiayl wrote: > ...
7 years, 6 months ago (2013-06-18 23:22:45 UTC) #44
jiayl
On 2013/06/18 23:22:45, jam wrote: > https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc > File content/browser/media/dtls_identity_store.cc (right): > > https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc#newcode151 > ...
7 years, 6 months ago (2013-06-18 23:25:30 UTC) #45
Ryan Sleevi
On 2013/06/18 23:22:45, jam wrote: > https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc > File content/browser/media/dtls_identity_store.cc (right): > > https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc#newcode151 > ...
7 years, 6 months ago (2013-06-19 01:02:13 UTC) #46
jiayl
PTAL https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc File content/browser/media/dtls_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/118002/content/browser/media/dtls_identity_store.cc#newcode38 content/browser/media/dtls_identity_store.cc:38: scoped_ptr<crypto::RSAPrivateKey> key(crypto::RSAPrivateKey::Create(1024)); Since Ryan has started two other ...
7 years, 6 months ago (2013-06-20 01:04:02 UTC) #47
jiayl
John&Ryan, Could you take another look? On Wed, Jun 19, 2013 at 6:04 PM, <jiayl@chromium.org> ...
7 years, 6 months ago (2013-06-20 20:53:27 UTC) #48
jam
lgtm for code outside the media directories, for those i defer to their respective owners
7 years, 6 months ago (2013-06-20 21:41:34 UTC) #49
sky
content/browser/renderer_host/render_process_host_impl.cc LGTM
7 years, 6 months ago (2013-06-20 21:45:13 UTC) #50
Ryan Sleevi
I am very concerned about the security of the IPCs. Please review my comments below, ...
7 years, 6 months ago (2013-06-24 19:29:15 UTC) #51
Ryan Sleevi
Further SECURITY concerns: https://codereview.chromium.org/15969025/diff/140001/content/browser/renderer_host/media/dtls_identity_service_host.cc File content/browser/renderer_host/media/dtls_identity_service_host.cc (right): https://codereview.chromium.org/15969025/diff/140001/content/browser/renderer_host/media/dtls_identity_service_host.cc#newcode56 content/browser/renderer_host/media/dtls_identity_service_host.cc:56: pending_request_cancel_callback_map_[request_id] = cancel_callback; As mentioned via ...
7 years, 6 months ago (2013-06-24 23:27:07 UTC) #52
jiayl
The new patch resolves the security concerns with rate limiting in IdentityServiceHost with tests and ...
7 years, 6 months ago (2013-06-25 20:36:32 UTC) #53
Ryan Sleevi
https://codereview.chromium.org/15969025/diff/156001/content/browser/media/webrtc_identity_store_unittest.cc File content/browser/media/webrtc_identity_store_unittest.cc (right): https://codereview.chromium.org/15969025/diff/156001/content/browser/media/webrtc_identity_store_unittest.cc#newcode32 content/browser/media/webrtc_identity_store_unittest.cc:32: message_was_ok); Why OVERRIDE this, when you're just forwarding to ...
7 years, 5 months ago (2013-06-27 00:14:54 UTC) #54
jiayl
All comments resolved. Now only one pending request is allowed per renderer. I removed the ...
7 years, 5 months ago (2013-06-27 17:28:43 UTC) #55
jiayl
PTAL. Thanks!
7 years, 5 months ago (2013-06-27 17:28:58 UTC) #56
Ryan Sleevi
lgtm https://codereview.chromium.org/15969025/diff/178001/content/browser/media/webrtc_identity_store.cc File content/browser/media/webrtc_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/178001/content/browser/media/webrtc_identity_store.cc#newcode131 content/browser/media/webrtc_identity_store.cc:131: void OnRequestComplete(int error, nit: newline https://codereview.chromium.org/15969025/diff/178001/content/browser/media/webrtc_identity_store.h File content/browser/media/webrtc_identity_store.h ...
7 years, 5 months ago (2013-06-27 18:05:24 UTC) #57
jiayl
Comments resolved. Thanks! https://codereview.chromium.org/15969025/diff/178001/content/browser/media/webrtc_identity_store.cc File content/browser/media/webrtc_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/178001/content/browser/media/webrtc_identity_store.cc#newcode131 content/browser/media/webrtc_identity_store.cc:131: void OnRequestComplete(int error, On 2013/06/27 18:05:24, ...
7 years, 5 months ago (2013-06-27 18:29:36 UTC) #58
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/15969025/diff/188001/content/browser/media/webrtc_identity_store.cc File content/browser/media/webrtc_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/188001/content/browser/media/webrtc_identity_store.cc#newcode22 content/browser/media/webrtc_identity_store.cc:22: namespace { this isn't useful (and makes debug tooling ...
7 years, 5 months ago (2013-06-27 20:05:17 UTC) #59
jiayl
PTAL. Thanks!! https://codereview.chromium.org/15969025/diff/188001/content/browser/media/webrtc_identity_store.cc File content/browser/media/webrtc_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/188001/content/browser/media/webrtc_identity_store.cc#newcode85 content/browser/media/webrtc_identity_store.cc:85: friend class WebRTCIdentityStore; On 2013/06/27 20:05:18, Ami ...
7 years, 5 months ago (2013-06-27 21:08:36 UTC) #60
Ami GONE FROM CHROMIUM
LGTM % nits https://codereview.chromium.org/15969025/diff/188001/content/browser/media/webrtc_identity_store.cc File content/browser/media/webrtc_identity_store.cc (right): https://codereview.chromium.org/15969025/diff/188001/content/browser/media/webrtc_identity_store.cc#newcode102 content/browser/media/webrtc_identity_store.cc:102: // WebRTCIdentityRequest. On 2013/06/27 21:08:37, jiayl ...
7 years, 5 months ago (2013-06-27 21:30:32 UTC) #61
jiayl
Thanks! https://codereview.chromium.org/15969025/diff/193001/content/browser/media/webrtc_identity_store_unittest.cc File content/browser/media/webrtc_identity_store_unittest.cc (right): https://codereview.chromium.org/15969025/diff/193001/content/browser/media/webrtc_identity_store_unittest.cc#newcode57 content/browser/media/webrtc_identity_store_unittest.cc:57: base::Bind(&OnRequestCompleted, base::Unretained(&completed))); On 2013/06/27 21:30:32, Ami Fischman wrote: ...
7 years, 5 months ago (2013-06-27 21:48:27 UTC) #62
Ami GONE FROM CHROMIUM
FYI https://codereview.chromium.org/15969025/diff/193001/content/browser/media/webrtc_identity_store_unittest.cc File content/browser/media/webrtc_identity_store_unittest.cc (right): https://codereview.chromium.org/15969025/diff/193001/content/browser/media/webrtc_identity_store_unittest.cc#newcode57 content/browser/media/webrtc_identity_store_unittest.cc:57: base::Bind(&OnRequestCompleted, base::Unretained(&completed))); On 2013/06/27 21:48:28, jiayl wrote: > ...
7 years, 5 months ago (2013-06-27 22:13:07 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/178002
7 years, 5 months ago (2013-06-27 22:33:23 UTC) #64
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-06-27 23:16:06 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/213001
7 years, 5 months ago (2013-06-27 23:33:55 UTC) #66
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-06-28 00:37:25 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/178006
7 years, 5 months ago (2013-06-28 00:58:44 UTC) #68
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-06-28 01:31:22 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/227001
7 years, 5 months ago (2013-06-28 17:35:53 UTC) #70
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=170635
7 years, 5 months ago (2013-06-28 19:29:03 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/227001
7 years, 5 months ago (2013-06-28 19:31:30 UTC) #72
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=170904
7 years, 5 months ago (2013-06-28 23:32:42 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/227001
7 years, 5 months ago (2013-06-28 23:35:58 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/227001
7 years, 5 months ago (2013-06-30 15:01:18 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/227001
7 years, 5 months ago (2013-07-01 16:33:31 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/15969025/268001
7 years, 5 months ago (2013-07-01 18:01:01 UTC) #79
commit-bot: I haz the power
7 years, 5 months ago (2013-07-01 21:21:49 UTC) #80
Message was sent while issue was closed.
Change committed as 209499

Powered by Google App Engine
This is Rietveld 408576698