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

Side by Side Diff: content/public/common/content_switches.h

Issue 792873004: Win32k lockdown: move to chrome://flags, add UMA, add finch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add flags to LoginCustomFlags Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the "content" command-line switches. 5 // Defines all the "content" command-line switches.
6 6
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 #endif 287 #endif
288 288
289 #if defined(OS_WIN) 289 #if defined(OS_WIN)
290 // This switch contains the device scale factor passed to certain processes 290 // This switch contains the device scale factor passed to certain processes
291 // like renderers, etc. 291 // like renderers, etc.
292 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; 292 CONTENT_EXPORT extern const char kDeviceScaleFactor[];
293 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; 293 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
294 // This switch will be removed when we enable the win32K lockdown process 294 // This switch will be removed when we enable the win32K lockdown process
295 // mitigation. 295 // mitigation.
296 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; 296 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[];
297 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[];
jam 2014/12/11 18:08:53 nit: sort
Will Harris 2014/12/11 18:35:58 Done.
297 // Switch to uniquely identify names shared memory section for font cache 298 // Switch to uniquely identify names shared memory section for font cache
298 // across chromium flavors. 299 // across chromium flavors.
299 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[]; 300 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[];
301 CONTENT_EXPORT bool Win32kRendererLockdownEnabled();
jam 2014/12/11 18:08:53 nit: begin method name with Is
Will Harris 2014/12/11 18:35:58 Done.
300 #endif 302 #endif
301 303
302 #if defined(ENABLE_PLUGINS) 304 #if defined(ENABLE_PLUGINS)
303 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; 305 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[];
304 #endif 306 #endif
305 307
306 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 308 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
307 // alphabetical order, or in one of the ifdefs (also in order in each section). 309 // alphabetical order, or in one of the ifdefs (also in order in each section).
308 310
309 } // namespace switches 311 } // namespace switches
310 312
311 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 313 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698