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

Issue 792873004: Win32k lockdown: move to chrome://flags, add UMA, add finch (Closed)

Created:
6 years ago by Will Harris
Modified:
6 years ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, ananta
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Win32k lockdown: move to chrome://flags, add UMA, add Finch. Supplying via command line is not sustainable because shortcuts are sometimes sanitized, so moving to a flag so a persistent state can be set. Also add a Finch experiment to enable win32k lockdown, and an UMA metric to report when it's enabled (either by Finch or flags) BUG=365160 Committed: https://crrev.com/d672334761063024f795f7b815856817aa822a0a Cr-Commit-Position: refs/heads/master@{#307953}

Patch Set 1 #

Patch Set 2 : CONTENT_EXPORT #

Patch Set 3 : add flags to LoginCustomFlags #

Total comments: 6

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -15 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/sandbox_win.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 3 chunks +22 lines, -5 lines 0 comments Download
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/pepper/resource_creation_impl.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Will Harris
asvitkine: histograms jschuh: sandbox_win.cc jam: everything else cc ananta for info
6 years ago (2014-12-10 22:15:48 UTC) #4
Alexei Svitkine (slow)
histograms and field trial code lgtm % a suggestion https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.cc#newcode1008 content/public/common/content_switches.cc:1008: ...
6 years ago (2014-12-10 22:42:28 UTC) #5
jschuh
lgtm in principle, and for sandbox_win
6 years ago (2014-12-11 18:05:19 UTC) #6
jam
lgtm https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.h File content/public/common/content_switches.h (right): https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.h#newcode297 content/public/common/content_switches.h:297: CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; nit: sort https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.h#newcode301 ...
6 years ago (2014-12-11 18:08:53 UTC) #7
Will Harris
thanks for all the reviews https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): https://codereview.chromium.org/792873004/diff/40001/content/public/common/content_switches.cc#newcode1008 content/public/common/content_switches.cc:1008: if (CommandLine::ForCurrentProcess()->HasSwitch( On 2014/12/10 ...
6 years ago (2014-12-11 18:35:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792873004/60001
6 years ago (2014-12-11 18:37:37 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-11 19:51:04 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-11 19:51:48 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d672334761063024f795f7b815856817aa822a0a
Cr-Commit-Position: refs/heads/master@{#307953}

Powered by Google App Engine
This is Rietveld 408576698