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

Issue 2642973006: Include AIDL files in the presubmit check for IPC security. (Closed)

Created:
3 years, 11 months ago by palmer
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Include more file name patterns in the presubmit check for IPC security. Additionally, rename some files to adhere to the expected naming conventions. Review-Url: https://codereview.chromium.org/2642973006 Cr-Commit-Position: refs/heads/master@{#445636} Committed: https://chromium.googlesource.com/chromium/src/+/b19a093aa85d3c3c7babb9ebe8e7342de33a2f74

Patch Set 1 #

Total comments: 1

Patch Set 2 : Include more file name patterns. #

Patch Set 3 : Fix some violations of our IPC file naming scheme. #

Patch Set 4 : Fix GN file. #

Patch Set 5 : Fix build/finish migrating an _enum_traits; fix OWNERS files. #

Total comments: 2

Patch Set 6 : Move `using` statements. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -591 lines) Patch
M PRESUBMIT.py View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M ash/public/interfaces/OWNERS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ash/public/interfaces/shelf.typemap View 1 2 1 chunk +1 line, -1 line 0 comments Download
D ash/public/interfaces/shelf_enum_traits.h View 1 2 1 chunk +0 lines, -88 lines 0 comments Download
A + ash/public/interfaces/shelf_struct_traits.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/public/interfaces/wallpaper.typemap View 1 2 1 chunk +1 line, -1 line 0 comments Download
D ash/public/interfaces/wallpaper_enum_traits.h View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
A + ash/public/interfaces/wallpaper_struct_traits.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/OWNERS View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/instant.typemap View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + chrome/common/instant_struct_traits.h View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/instant_type_traits.h View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/indexed_db/OWNERS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/indexed_db/indexed_db.typemap View 1 2 1 chunk +1 line, -4 lines 0 comments Download
D content/common/indexed_db/indexed_db_enum_traits.h View 1 2 1 chunk +0 lines, -63 lines 0 comments Download
M content/common/indexed_db/indexed_db_enum_traits.cc View 1 2 3 4 1 chunk +0 lines, -219 lines 0 comments Download
M content/common/indexed_db/indexed_db_struct_traits.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
M content/common/indexed_db/indexed_db_struct_traits.cc View 1 2 3 4 5 2 chunks +208 lines, -0 lines 0 comments Download
M ui/base/mojo/OWNERS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/mojo/window_open_disposition.typemap View 1 2 1 chunk +1 line, -1 line 0 comments Download
D ui/base/mojo/window_open_disposition_enum_traits.h View 1 2 1 chunk +0 lines, -88 lines 0 comments Download
A + ui/base/mojo/window_open_disposition_struct_traits.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
palmer
3 years, 11 months ago (2017-01-19 22:13:08 UTC) #2
dcheng
lgtm https://codereview.chromium.org/2642973006/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2642973006/diff/1/PRESUBMIT.py#newcode1465 PRESUBMIT.py:1465: '*.aidl', Nit: I probably should have done this, ...
3 years, 11 months ago (2017-01-19 22:15:04 UTC) #3
palmer
What about *.typemap, and *_enum_traits*.*? Should we add those?
3 years, 11 months ago (2017-01-19 22:35:18 UTC) #4
dcheng
On 2017/01/19 22:35:18, palmer wrote: > What about *.typemap, and *_enum_traits*.*? Should we add those? ...
3 years, 11 months ago (2017-01-19 22:37:47 UTC) #5
palmer
On 2017/01/19 at 22:37:47, dcheng wrote: > On 2017/01/19 22:35:18, palmer wrote: > > What ...
3 years, 11 months ago (2017-01-19 22:42:48 UTC) #6
dcheng
On 2017/01/19 22:42:48, palmer wrote: > On 2017/01/19 at 22:37:47, dcheng wrote: > > On ...
3 years, 11 months ago (2017-01-19 22:48:10 UTC) #7
palmer
This should be a mechanical change, and relatively easy to review. PTAL. Thanks!
3 years, 11 months ago (2017-01-20 22:58:49 UTC) #11
jsbell
mechanically lgtm, one nit... https://codereview.chromium.org/2642973006/diff/80001/content/common/indexed_db/indexed_db_struct_traits.cc File content/common/indexed_db/indexed_db_struct_traits.cc (right): https://codereview.chromium.org/2642973006/diff/80001/content/common/indexed_db/indexed_db_struct_traits.cc#newcode240 content/common/indexed_db/indexed_db_struct_traits.cc:240: using indexed_db::mojom::CursorDirection; It's a little ...
3 years, 11 months ago (2017-01-20 23:12:29 UTC) #14
jsbell
previous is for just the content/common/indexed_db directory, of course
3 years, 11 months ago (2017-01-20 23:13:32 UTC) #15
palmer
https://codereview.chromium.org/2642973006/diff/80001/content/common/indexed_db/indexed_db_struct_traits.cc File content/common/indexed_db/indexed_db_struct_traits.cc (right): https://codereview.chromium.org/2642973006/diff/80001/content/common/indexed_db/indexed_db_struct_traits.cc#newcode240 content/common/indexed_db/indexed_db_struct_traits.cc:240: using indexed_db::mojom::CursorDirection; > It's a little unusual to see ...
3 years, 11 months ago (2017-01-21 00:02:17 UTC) #18
sky
LGTM
3 years, 11 months ago (2017-01-21 00:31:26 UTC) #19
Dirk Pranke
PRESUBMIT.py change lgtm.
3 years, 11 months ago (2017-01-24 02:32:06 UTC) #20
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/2642973006/100001
3 years, 11 months ago (2017-01-24 03:02:59 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/b19a093aa85d3c3c7babb9ebe8e7342de33a2f74
3 years, 11 months ago (2017-01-24 04:01:17 UTC) #26
Wez
Hallo jln@chromium.org! Due to a depot_tools patch which mistakenly removed the OWNERS check for non-source ...
3 years, 10 months ago (2017-02-08 02:22:56 UTC) #29
jln (very slow on Chromium)
3 years, 10 months ago (2017-02-10 04:43:16 UTC) #30
Message was sent while issue was closed.
On 2017/02/08 02:22:56, Wez wrote:
> Hallo mailto:jln@chromium.org!
> Due to a depot_tools patch which mistakenly removed the OWNERS check for
> non-source files (see crbug.com/684270), the following files landed in this CL
> and need a retrospective review from you:
> 	content/common/BUILD.gn
> Thanks,
> Wez

I only review content/common/* for sandbox changes, but the change is trivial so
LGTM.

Powered by Google App Engine
This is Rietveld 408576698