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

Issue 1609133002: Change Win32k PPAPI lockdown to use finch params for mime type. (Closed)

Created:
4 years, 11 months ago by Will Harris
Modified:
4 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, forshaw, Avi (use Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change Win32k PPAPI lockdown to use finch params for mime type. BUG=523278 Committed: https://crrev.com/c91e967e98ace8db59aa9c29b0949603caa51050 Cr-Commit-Position: refs/heads/master@{#371651}

Patch Set 1 #

Total comments: 15

Patch Set 2 : rebase #

Patch Set 3 : code review comments #

Patch Set 4 : delegate via content browser client #

Total comments: 7

Patch Set 5 : code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -37 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 2 chunks +50 lines, -1 line 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 3 4 1 chunk +12 lines, -7 lines 0 comments Download
M content/common/content_switches_internal.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/content_switches_internal.cc View 2 chunks +0 lines, -27 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (15 generated)
Will Harris
avi: what do you think about this addition to DEPS :) asvitkine: is my finch-fu ...
4 years, 11 months ago (2016-01-20 01:36:35 UTC) #3
Avi (use Gerrit)
I'm OK with the DEPS but I'm not familiar enough with the components/ directory to ...
4 years, 11 months ago (2016-01-20 15:13:48 UTC) #4
Will Harris
On 2016/01/20 15:13:48, Avi wrote: > I'm OK with the DEPS but I'm not familiar ...
4 years, 11 months ago (2016-01-20 15:56:04 UTC) #5
Alexei Svitkine (slow)
Dependency looks good to me. Have a comment about the usage of the API. https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc ...
4 years, 11 months ago (2016-01-20 16:19:52 UTC) #6
Will Harris
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode66 content/browser/ppapi_plugin_process_host.cc:66: if (param.first == mime_type || param.first == "*") { ...
4 years, 11 months ago (2016-01-20 16:44:08 UTC) #8
forshaw
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode66 content/browser/ppapi_plugin_process_host.cc:66: if (param.first == mime_type || param.first == "*") { ...
4 years, 11 months ago (2016-01-20 16:57:48 UTC) #10
Will Harris
ping. I think having the ability to selectively disable by mime id is enough reason ...
4 years, 11 months ago (2016-01-21 18:03:54 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode65 content/browser/ppapi_plugin_process_host.cc:65: for (auto param : mime_params) { Nit: const auto& ...
4 years, 11 months ago (2016-01-22 19:27:50 UTC) #13
Will Harris
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode79 content/browser/ppapi_plugin_process_host.cc:79: return true; On 2016/01/22 19:27:50, Alexei Svitkine (very slow) ...
4 years, 11 months ago (2016-01-25 18:20:28 UTC) #14
Alexei Svitkine (slow)
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode79 content/browser/ppapi_plugin_process_host.cc:79: return true; On 2016/01/25 18:20:28, Will Harris wrote: > ...
4 years, 11 months ago (2016-01-25 18:54:51 UTC) #15
Will Harris
one question for you before I upload a new patchset. https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode62 ...
4 years, 11 months ago (2016-01-25 19:08:11 UTC) #16
Alexei Svitkine (slow)
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode62 content/browser/ppapi_plugin_process_host.cc:62: if (variations::GetVariationParams("EnableWin32kLockDownMimeTypes", On 2016/01/25 19:08:10, Will Harris wrote: > ...
4 years, 11 months ago (2016-01-25 19:32:48 UTC) #17
Will Harris
https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode62 content/browser/ppapi_plugin_process_host.cc:62: if (variations::GetVariationParams("EnableWin32kLockDownMimeTypes", On 2016/01/25 19:32:48, Alexei Svitkine (very slow) ...
4 years, 11 months ago (2016-01-25 19:35:39 UTC) #18
Will Harris
changes made. PTAL. avi: please rs the DEPS change asvitkine: everything else. https://codereview.chromium.org/1609133002/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc ...
4 years, 11 months ago (2016-01-25 19:50:28 UTC) #20
Alexei Svitkine (slow)
lgtm
4 years, 11 months ago (2016-01-25 19:52:40 UTC) #21
Will Harris
-avi +nasko
4 years, 11 months ago (2016-01-25 21:14:15 UTC) #24
nasko
LGTM
4 years, 11 months ago (2016-01-25 21:40:20 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609133002/60001
4 years, 11 months ago (2016-01-25 21:46:59 UTC) #27
Will Harris
jam@ can you look if this new DEP between content/browser and components/variations is okay from ...
4 years, 11 months ago (2016-01-25 21:52:11 UTC) #30
jam
On 2016/01/25 21:52:11, Will Harris wrote: > jam@ can you look if this new DEP ...
4 years, 11 months ago (2016-01-26 00:37:01 UTC) #31
Alexei Svitkine (slow)
Sounds like we need a delegate API to get it from chrome/ layer then, that ...
4 years, 11 months ago (2016-01-26 01:02:10 UTC) #32
Will Harris
On 2016/01/26 01:02:10, Alexei Svitkine (very slow) wrote: > Sounds like we need a delegate ...
4 years, 11 months ago (2016-01-26 01:10:53 UTC) #33
Will Harris
On 2016/01/26 01:10:53, Will Harris wrote: > On 2016/01/26 01:02:10, Alexei Svitkine (very slow) wrote: ...
4 years, 11 months ago (2016-01-26 04:10:48 UTC) #34
Will Harris
Refactored the CL to go via ContentBrowserClient and call into components/variations/ from chrome/ The logic ...
4 years, 11 months ago (2016-01-26 06:20:31 UTC) #35
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1609133002/diff/80001/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1609133002/diff/80001/content/browser/ppapi_plugin_process_host.cc#newcode95 content/browser/ppapi_plugin_process_host.cc:95: if (GetContentClient()->browser()->IsWin32kLockdownEnabledForMimeType( Nit: Store the result of GetContentClient()->browser() ...
4 years, 11 months ago (2016-01-26 08:23:40 UTC) #36
jam
lgtm https://codereview.chromium.org/1609133002/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1609133002/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode169 chrome/browser/chrome_content_browser_client.cc:169: #include "base/strings/string_util.h" this is already above, so remove ...
4 years, 11 months ago (2016-01-26 15:18:51 UTC) #37
Will Harris
thanks for reviews. https://codereview.chromium.org/1609133002/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1609133002/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode169 chrome/browser/chrome_content_browser_client.cc:169: #include "base/strings/string_util.h" On 2016/01/26 15:18:51, jam ...
4 years, 11 months ago (2016-01-26 22:57:55 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609133002/100001
4 years, 11 months ago (2016-01-26 23:04:09 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 11 months ago (2016-01-27 00:14:27 UTC) #43
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 00:15:45 UTC) #45
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c91e967e98ace8db59aa9c29b0949603caa51050
Cr-Commit-Position: refs/heads/master@{#371651}

Powered by Google App Engine
This is Rietveld 408576698