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

Issue 2333443002: Add base::UnguessableToken (Closed)

Created:
4 years, 3 months ago by tguilbert
Modified:
4 years, 3 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add base::UnguessableToken cc::SurfaceId, gpu::Mailbox and ScopedSurfaceRequestManager need an unguessable identifier. Security recommends using 128 bits to make sure an ID is unguessable. However, there is no conveniently serializable way to represent 128 bits. This change introduces base::UnguessableToken, a 128 bit class with a cryptographically strong Create() function. UnguessableToken can be used by themselves, or as part of an aggregate ID. An empty UnguessableToken is a valid value. It is however illegal to send empty UnguessableToken across processes (because the resource that is supposed to be protected by the token would now be guessable). Sending empty tokens across processes is a security issue, and should be handled as such. This change also introduces the appropriate code to send tokens over IPC and Mojo. base::Optional should be used in cases where it may be valid to send no token (rather than sending an empty token). TEST=Added unittests. Also tested in a prototype that uses IPC and Mojo. BUG=643857 Committed: https://crrev.com/4a5ac609f7ea52f2eb69fe871ba6b00c463b9b25 Cr-Commit-Position: refs/heads/master@{#419550}

Patch Set 1 #

Total comments: 25

Patch Set 2 : Addressed comments. #

Total comments: 1

Patch Set 3 : Changed std::is_pod<Nonce> from UT to static_assert #

Total comments: 8

Patch Set 4 : Addressing comments. #

Total comments: 9

Patch Set 5 : Added struct traits. Changed IPC serialization. #

Patch Set 6 : Fixed a UT #

Total comments: 12

Patch Set 7 : Fixed typos. int64_t --> uint64_t #

Patch Set 8 : Removed '= default' constructor. #

Total comments: 19

Patch Set 9 : Addressed comments. Added CHECKs, const time ==. #

Total comments: 18

Patch Set 10 : Rename to NonceToken. Addressed comments. #

Patch Set 11 : Rebase #

Patch Set 12 : NonceTokenHash CHECK --> DCHECK #

Total comments: 19

Patch Set 13 : Adressed comments #

Total comments: 3

Patch Set 14 : Name change. CHECK --> DCHECK #

Total comments: 9

Patch Set 15 : Addressed comments. #

Total comments: 3

Patch Set 16 : cl format #

Patch Set 17 : Serialize --> Serialization getters #

Total comments: 6

Patch Set 18 : Addressed last comments. #

Patch Set 19 : Fixed typemap linking issue. #

Patch Set 20 : Removed MOJO_COMMON_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -3 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
A base/unguessable_token.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +99 lines, -0 lines 0 comments Download
A base/unguessable_token.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +37 lines, -0 lines 0 comments Download
A base/unguessable_token_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +114 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +12 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +40 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +21 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types.typemap View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/common/common_custom_types_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +22 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types_struct_traits.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +16 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +28 lines, -0 lines 0 comments Download
M mojo/common/test_common_custom_types.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 125 (40 generated)
danakj
A few comments on the base impl https://codereview.chromium.org/2333443002/diff/1/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/1/base/nonce.h#newcode21 base/nonce.h:21: // PLEASE ...
4 years, 3 months ago (2016-09-12 20:41:57 UTC) #6
Fady Samuel
Some non-OWNER thoughts. https://codereview.chromium.org/2333443002/diff/1/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/1/base/nonce.h#newcode28 base/nonce.h:28: static Nonce Generate(); On 2016/09/12 20:41:57, ...
4 years, 3 months ago (2016-09-12 20:47:48 UTC) #8
danakj
On Mon, Sep 12, 2016 at 1:47 PM, <fsamuel@chromium.org> wrote: > Some non-OWNER thoughts. > ...
4 years, 3 months ago (2016-09-12 20:54:55 UTC) #9
tguilbert
danakj PTAL @ base/* dcheng PTAL @ mojo/common/* jam PTAL @ ipc/* Addressed comments: - ...
4 years, 3 months ago (2016-09-12 23:53:34 UTC) #11
tguilbert
danakj PTAL @ base/* dcheng PTAL @ mojo/common/* jam PTAL @ ipc/* Addressed comments: - ...
4 years, 3 months ago (2016-09-12 23:53:35 UTC) #12
Fady Samuel
I love this change, making Nonce::Deserialize explicit! LGTM! Thanks!
4 years, 3 months ago (2016-09-12 23:58:06 UTC) #15
dcheng
Btw, should we pass by Nonce by value or by const ref? Seems small enough ...
4 years, 3 months ago (2016-09-13 01:33:29 UTC) #16
tguilbert
I also think that by value should be fine. Side question: Should the memory backing ...
4 years, 3 months ago (2016-09-13 01:50:12 UTC) #17
jam
Redirecting to Tom for review of ipc/
4 years, 3 months ago (2016-09-13 17:43:46 UTC) #19
Fady Samuel
https://codereview.chromium.org/2333443002/diff/60001/mojo/common/common_custom_types.mojom File mojo/common/common_custom_types.mojom (right): https://codereview.chromium.org/2333443002/diff/60001/mojo/common/common_custom_types.mojom#newcode17 mojo/common/common_custom_types.mojom:17: struct Nonce; Sorry just noticed. Could we please make ...
4 years, 3 months ago (2016-09-13 17:45:00 UTC) #20
Tom Sepez
https://codereview.chromium.org/2333443002/diff/60001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/60001/base/nonce.h#newcode34 base/nonce.h:34: // Creates a null Nonce. Actually, wouldn't this create ...
4 years, 3 months ago (2016-09-13 18:20:41 UTC) #21
tguilbert
Updated. PTAL! TY. https://codereview.chromium.org/2333443002/diff/60001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/60001/base/nonce.h#newcode34 base/nonce.h:34: // Creates a null Nonce. On ...
4 years, 3 months ago (2016-09-13 20:20:19 UTC) #22
Avi (use Gerrit)
https://codereview.chromium.org/2333443002/diff/100001/base/nonce.cc File base/nonce.cc (right): https://codereview.chromium.org/2333443002/diff/100001/base/nonce.cc#newcode24 base/nonce.cc:24: base::RandBytes(&nonce, sizeof(nonce)); This potentially could scribble across padding. Along ...
4 years, 3 months ago (2016-09-13 20:28:38 UTC) #24
Fady Samuel
https://codereview.chromium.org/2333443002/diff/60001/mojo/common/common_custom_types.mojom File mojo/common/common_custom_types.mojom (right): https://codereview.chromium.org/2333443002/diff/60001/mojo/common/common_custom_types.mojom#newcode17 mojo/common/common_custom_types.mojom:17: struct Nonce; On 2016/09/13 20:20:19, ThomasGuilbert wrote: > On ...
4 years, 3 months ago (2016-09-13 20:28:44 UTC) #25
tguilbert
https://codereview.chromium.org/2333443002/diff/60001/mojo/common/common_custom_types.mojom File mojo/common/common_custom_types.mojom (right): https://codereview.chromium.org/2333443002/diff/60001/mojo/common/common_custom_types.mojom#newcode17 mojo/common/common_custom_types.mojom:17: struct Nonce; On 2016/09/13 20:28:44, Fady Samuel wrote: > ...
4 years, 3 months ago (2016-09-13 21:11:45 UTC) #26
Tom Sepez
LGTM otherwise. https://codereview.chromium.org/2333443002/diff/60001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/60001/base/nonce.h#newcode34 base/nonce.h:34: // Creates a null Nonce. On 2016/09/13 ...
4 years, 3 months ago (2016-09-13 21:29:39 UTC) #29
Tom Sepez
(The reason I suggest this is that uninitialized values look very much like random values, ...
4 years, 3 months ago (2016-09-13 22:11:04 UTC) #30
tguilbert
On 2016/09/13 22:11:04, Tom Sepez wrote: > (The reason I suggest this is that uninitialized ...
4 years, 3 months ago (2016-09-13 22:55:39 UTC) #33
Avi (use Gerrit)
lgtm Nice!
4 years, 3 months ago (2016-09-13 23:03:38 UTC) #34
danakj
On Mon, Sep 12, 2016 at 6:33 PM, <dcheng@chromium.org> wrote: > Btw, should we pass ...
4 years, 3 months ago (2016-09-13 23:06:15 UTC) #35
Tom Sepez
++LGTM
4 years, 3 months ago (2016-09-13 23:06:42 UTC) #36
dcheng
Mostly just nits. https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h#newcode17 base/nonce.h:17: // An Nonce is a cryptographically ...
4 years, 3 months ago (2016-09-13 23:19:06 UTC) #37
Ken Rockot(use gerrit already)
A few drive-by comments. We also use random 128-bit tokens inside the Mojo system layer, ...
4 years, 3 months ago (2016-09-13 23:21:13 UTC) #39
DaleCurtis
https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h#newcode71 base/nonce.h:71: // If base::Nonce is no longer 128 bits, the ...
4 years, 3 months ago (2016-09-13 23:39:48 UTC) #40
tguilbert
On 2016/09/13 23:21:13, Ken Rockot wrote: > A few drive-by comments. > > We also ...
4 years, 3 months ago (2016-09-13 23:42:35 UTC) #41
sandersd (OOO until July 31)
https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h#newcode28 base/nonce.h:28: static Nonce Generate(); On 2016/09/13 23:21:13, Ken Rockot wrote: ...
4 years, 3 months ago (2016-09-13 23:51:53 UTC) #43
danakj
On Tue, Sep 13, 2016 at 4:42 PM, <tguilbert@chromium.org> wrote: > On 2016/09/13 23:21:13, Ken ...
4 years, 3 months ago (2016-09-13 23:52:52 UTC) #44
tguilbert
On 2016/09/13 23:51:53, sandersd wrote: > https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h > File base/nonce.h (right): > > https://codereview.chromium.org/2333443002/diff/140001/base/nonce.h#newcode28 > ...
4 years, 3 months ago (2016-09-14 00:00:43 UTC) #45
tguilbert
On 2016/09/13 23:52:52, danakj wrote: > On Tue, Sep 13, 2016 at 4:42 PM, <mailto:tguilbert@chromium.org> ...
4 years, 3 months ago (2016-09-14 00:03:27 UTC) #46
danakj
On Tue, Sep 13, 2016 at 5:00 PM, <tguilbert@chromium.org> wrote: > On 2016/09/13 23:51:53, sandersd ...
4 years, 3 months ago (2016-09-14 00:05:48 UTC) #47
tguilbert
On 2016/09/14 00:05:48, danakj wrote: > On Tue, Sep 13, 2016 at 5:00 PM, <mailto:tguilbert@chromium.org> ...
4 years, 3 months ago (2016-09-14 00:57:08 UTC) #48
dcheng
On 2016/09/14 00:57:08, ThomasGuilbert wrote: > On 2016/09/14 00:05:48, danakj wrote: > > On Tue, ...
4 years, 3 months ago (2016-09-14 01:01:25 UTC) #49
danakj
On Tue, Sep 13, 2016 at 5:57 PM, <tguilbert@chromium.org> wrote: > On 2016/09/14 00:05:48, danakj ...
4 years, 3 months ago (2016-09-14 01:08:28 UTC) #50
tguilbert
@dcheng Oops, yep, no TypeConverter :P CHECKs/DCHECKS seem like the way to go :) I ...
4 years, 3 months ago (2016-09-14 22:40:48 UTC) #51
danakj
On Wed, Sep 14, 2016 at 3:40 PM, <tguilbert@chromium.org> wrote: > @dcheng Oops, yep, no ...
4 years, 3 months ago (2016-09-14 23:00:29 UTC) #52
sandersd (OOO until July 31)
> And a DCHECK to Nonce::high()/Nonce::low() (although I am less sure about the > usefulness ...
4 years, 3 months ago (2016-09-14 23:02:05 UTC) #53
danakj
On Wed, Sep 14, 2016 at 4:02 PM, <sandersd@chromium.org> wrote: > > And a DCHECK ...
4 years, 3 months ago (2016-09-14 23:11:23 UTC) #54
sandersd (OOO until July 31)
> What happens when you write a test with a SurfaceId which is composed of ...
4 years, 3 months ago (2016-09-14 23:30:09 UTC) #55
danakj
On Wed, Sep 14, 2016 at 4:30 PM, <sandersd@chromium.org> wrote: > > What happens when ...
4 years, 3 months ago (2016-09-14 23:59:45 UTC) #56
Ken Rockot(use gerrit already)
On Sep 14, 2016 4:51 PM, <danakj@chromium.org> wrote: > > On Wed, Sep 14, 2016 ...
4 years, 3 months ago (2016-09-15 00:03:46 UTC) #57
Tom Sepez
Ok, sounds like it's more trouble than its worth. Still LGTM.
4 years, 3 months ago (2016-09-15 16:55:08 UTC) #58
danakj
https://codereview.chromium.org/2333443002/diff/160001/base/nonce.cc File base/nonce.cc (right): https://codereview.chromium.org/2333443002/diff/160001/base/nonce.cc#newcode40 base/nonce.cc:40: CHECK((high | low)); DCHECK? https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h#newcode43 ...
4 years, 3 months ago (2016-09-15 18:06:37 UTC) #59
watk
https://codereview.chromium.org/2333443002/diff/160001/base/nonce.cc File base/nonce.cc (right): https://codereview.chromium.org/2333443002/diff/160001/base/nonce.cc#newcode38 base/nonce.cc:38: // Sending an empty nonce accross processes likely means ...
4 years, 3 months ago (2016-09-15 18:46:10 UTC) #61
sandersd (OOO until July 31)
https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h#newcode59 base/nonce.h:59: // Constant time comparison check. On 2016/09/15 18:06:37, danakj ...
4 years, 3 months ago (2016-09-15 18:52:26 UTC) #62
Tom Sepez
https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h File base/nonce.h (right): https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h#newcode59 base/nonce.h:59: // Constant time comparison check. On 2016/09/15 18:06:37, danakj ...
4 years, 3 months ago (2016-09-15 19:43:36 UTC) #63
danakj
On Thu, Sep 15, 2016 at 12:43 PM, <tsepez@chromium.org> wrote: > > https://codereview.chromium.org/2333443002/diff/160001/base/nonce.h > File ...
4 years, 3 months ago (2016-09-15 21:09:32 UTC) #64
dcheng
On 2016/09/15 21:09:32, danakj wrote: > On Thu, Sep 15, 2016 at 12:43 PM, <mailto:tsepez@chromium.org> ...
4 years, 3 months ago (2016-09-15 21:14:57 UTC) #67
tguilbert
On 2016/09/15 21:14:57, dcheng wrote: > On 2016/09/15 21:09:32, danakj wrote: > > On Thu, ...
4 years, 3 months ago (2016-09-15 21:59:11 UTC) #70
tguilbert
After some thought, I have renamed base::Nonce to base::NonceToken. I think this clears some of ...
4 years, 3 months ago (2016-09-15 22:57:40 UTC) #73
danakj
https://codereview.chromium.org/2333443002/diff/220001/base/nonce_token.cc File base/nonce_token.cc (right): https://codereview.chromium.org/2333443002/diff/220001/base/nonce_token.cc#newcode15 base/nonce_token.cc:15: static_assert(sizeof(NonceToken) == 2 * sizeof(uint64_t), Can you put this ...
4 years, 3 months ago (2016-09-15 23:35:16 UTC) #75
tguilbert
PTAL. https://codereview.chromium.org/2333443002/diff/220001/base/nonce_token.cc File base/nonce_token.cc (right): https://codereview.chromium.org/2333443002/diff/220001/base/nonce_token.cc#newcode15 base/nonce_token.cc:15: static_assert(sizeof(NonceToken) == 2 * sizeof(uint64_t), On 2016/09/15 23:35:15, ...
4 years, 3 months ago (2016-09-16 01:03:02 UTC) #76
danakj
Thanks, few more comments. https://codereview.chromium.org/2333443002/diff/220001/base/nonce_token.cc File base/nonce_token.cc (right): https://codereview.chromium.org/2333443002/diff/220001/base/nonce_token.cc#newcode35 base/nonce_token.cc:35: CHECK(!is_empty()); On 2016/09/16 01:03:01, ThomasGuilbert ...
4 years, 3 months ago (2016-09-16 01:21:55 UTC) #77
Tom Sepez
Deserialization should just return false on error, the browser then invokes its bad message path ...
4 years, 3 months ago (2016-09-16 16:02:59 UTC) #78
Tom Sepez
On 2016/09/16 16:02:59, Tom Sepez wrote: > Deserialization should just return false on error, the ...
4 years, 3 months ago (2016-09-16 16:05:41 UTC) #79
Tom Sepez
On 2016/09/16 16:05:41, Tom Sepez wrote: > On 2016/09/16 16:02:59, Tom Sepez wrote: > > ...
4 years, 3 months ago (2016-09-16 16:07:18 UTC) #80
danakj
On Fri, Sep 16, 2016 at 9:02 AM, <tsepez@chromium.org> wrote: > Deserialization should just return ...
4 years, 3 months ago (2016-09-16 17:54:19 UTC) #81
Fady Samuel
+1 to UnguessableToken! On 2016/09/16 17:54:19, danakj wrote: > On Fri, Sep 16, 2016 at ...
4 years, 3 months ago (2016-09-16 17:56:24 UTC) #82
tguilbert
On 2016/09/16 17:56:24, Fady Samuel wrote: > +1 to UnguessableToken! > > On 2016/09/16 17:54:19, ...
4 years, 3 months ago (2016-09-16 18:50:16 UTC) #83
Tom Sepez
I'm totally happy. LGTM++.
4 years, 3 months ago (2016-09-16 22:02:14 UTC) #87
sandersd (OOO until July 31)
https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token.cc File base/unguessable_token.cc (right): https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token.cc#newcode17 base/unguessable_token.cc:17: return base::StringPrintf("(%" PRIu64 ":%" PRIu64 ")", high_, low_); I ...
4 years, 3 months ago (2016-09-16 22:13:55 UTC) #88
tguilbert
After a few offline discussions, I have changed all CHECKs to DCHECKs. Following comments and ...
4 years, 3 months ago (2016-09-16 22:16:40 UTC) #89
danakj
LGTM too thanks for all the iterations https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token_unittest.cc File base/unguessable_token_unittest.cc (right): https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token_unittest.cc#newcode74 base/unguessable_token_unittest.cc:74: TestSmallerThanOperator(UnguessableToken::Deserialize(0, 1), ...
4 years, 3 months ago (2016-09-16 22:18:32 UTC) #90
danakj
On 2016/09/16 22:16:40, ThomasGuilbert wrote: > After a few offline discussions, I have changed all ...
4 years, 3 months ago (2016-09-16 22:20:24 UTC) #91
danakj
https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token.h File base/unguessable_token.h (right): https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token.h#newcode64 base/unguessable_token.h:64: // Based on crypto::SecureMemEqual(). On 2016/09/16 22:13:55, sandersd wrote: ...
4 years, 3 months ago (2016-09-16 22:21:35 UTC) #92
tguilbert
https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token.cc File base/unguessable_token.cc (right): https://codereview.chromium.org/2333443002/diff/260001/base/unguessable_token.cc#newcode17 base/unguessable_token.cc:17: return base::StringPrintf("(%" PRIu64 ":%" PRIu64 ")", high_, low_); On ...
4 years, 3 months ago (2016-09-16 22:48:15 UTC) #93
tguilbert
On 2016/09/16 22:20:24, danakj wrote: > On 2016/09/16 22:16:40, ThomasGuilbert wrote: > > After a ...
4 years, 3 months ago (2016-09-16 22:49:36 UTC) #94
danakj
Thanks! LGTM https://codereview.chromium.org/2333443002/diff/280001/ipc/ipc_message_utils.cc File ipc/ipc_message_utils.cc (right): https://codereview.chromium.org/2333443002/diff/280001/ipc/ipc_message_utils.cc#newcode1033 ipc/ipc_message_utils.cc:1033: return false; please "git cl format" there's ...
4 years, 3 months ago (2016-09-16 22:52:46 UTC) #95
sandersd (OOO until July 31)
lgtm
4 years, 3 months ago (2016-09-16 22:56:59 UTC) #96
dcheng
https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h File mojo/common/common_custom_types_struct_traits.h (right): https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h#newcode38 mojo/common/common_custom_types_struct_traits.h:38: token.Serialize(&high, &low); So, for Reasons (tm), each getter here ...
4 years, 3 months ago (2016-09-16 23:01:36 UTC) #97
danakj
https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h File mojo/common/common_custom_types_struct_traits.h (right): https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h#newcode38 mojo/common/common_custom_types_struct_traits.h:38: token.Serialize(&high, &low); On 2016/09/16 23:01:35, dcheng wrote: > So, ...
4 years, 3 months ago (2016-09-16 23:26:51 UTC) #98
tguilbert
On 2016/09/16 23:26:51, danakj wrote: > https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h > File mojo/common/common_custom_types_struct_traits.h (right): > > https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h#newcode38 > ...
4 years, 3 months ago (2016-09-17 00:10:16 UTC) #99
Fady Samuel
On 2016/09/17 00:10:16, ThomasGuilbert wrote: > On 2016/09/16 23:26:51, danakj wrote: > > > https://codereview.chromium.org/2333443002/diff/280001/mojo/common/common_custom_types_struct_traits.h ...
4 years, 3 months ago (2016-09-17 00:21:38 UTC) #100
dcheng
LGTM with comments addressed. https://codereview.chromium.org/2333443002/diff/320001/base/unguessable_token.cc File base/unguessable_token.cc (right): https://codereview.chromium.org/2333443002/diff/320001/base/unguessable_token.cc#newcode30 base/unguessable_token.cc:30: // Serializing an empty UnguessableToken ...
4 years, 3 months ago (2016-09-17 00:22:20 UTC) #101
tguilbert
Done. Thank you so much everyone for your comments and for the discussion! I am ...
4 years, 3 months ago (2016-09-17 00:49:49 UTC) #102
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/2333443002/340001
4 years, 3 months ago (2016-09-17 00:50:44 UTC) #105
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/261627)
4 years, 3 months ago (2016-09-17 00:59:36 UTC) #107
tguilbert
@rockot Can you OWNERS review mojo/* ? These two files do not have an OWNERS ...
4 years, 3 months ago (2016-09-17 01:12:37 UTC) #108
Ken Rockot(use gerrit already)
Woops, sorry. LGTM On Sep 16, 2016 6:12 PM, <tguilbert@chromium.org> wrote: > @rockot Can you ...
4 years, 3 months ago (2016-09-17 01:43:12 UTC) #109
Ken Rockot(use gerrit already)
lgtm
4 years, 3 months ago (2016-09-17 01:48:45 UTC) #110
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/2333443002/340001
4 years, 3 months ago (2016-09-17 01:50:42 UTC) #112
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/87640)
4 years, 3 months ago (2016-09-17 03:18:10 UTC) #114
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/2333443002/360001
4 years, 3 months ago (2016-09-19 17:51:20 UTC) #117
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/2333443002/380001
4 years, 3 months ago (2016-09-19 18:33:22 UTC) #121
commit-bot: I haz the power
Committed patchset #20 (id:380001)
4 years, 3 months ago (2016-09-19 21:11:47 UTC) #123
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:13:43 UTC) #125
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/4a5ac609f7ea52f2eb69fe871ba6b00c463b9b25
Cr-Commit-Position: refs/heads/master@{#419550}

Powered by Google App Engine
This is Rietveld 408576698