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

Side by Side Diff: chrome/common/chrome_switches.h

Issue 5844001: seccomp: remove build-time flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/zygote_host_linux.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 command-line switches used by Chrome. 5 // Defines all the command-line switches used by Chrome.
6 6
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ 8 #define CHROME_COMMON_CHROME_SWITCHES_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 #endif 394 #endif
395 395
396 #if !defined(OFFICIAL_BUILD) 396 #if !defined(OFFICIAL_BUILD)
397 extern const char kRendererCheckFalseTest[]; 397 extern const char kRendererCheckFalseTest[];
398 #endif 398 #endif
399 399
400 #if defined(HAVE_XINPUT2) 400 #if defined(HAVE_XINPUT2)
401 extern const char kTouchDevices[]; 401 extern const char kTouchDevices[];
402 #endif 402 #endif
403 403
404 #if defined(USE_SECCOMP_SANDBOX)
405 extern const char kDisableSeccompSandbox[]; 404 extern const char kDisableSeccompSandbox[];
406 #else
407 extern const char kEnableSeccompSandbox[]; 405 extern const char kEnableSeccompSandbox[];
408 #endif 406
409 // Return true if the switches indicate the seccomp sandbox is enabled. 407 // Return true if the switches indicate the seccomp sandbox is enabled.
410 bool SeccompSandboxEnabled(); 408 bool SeccompSandboxEnabled();
411 409
412 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 410 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
413 // alphabetical order, or in one of the ifdefs (also in order in each section). 411 // alphabetical order, or in one of the ifdefs (also in order in each section).
414 412
415 } // namespace switches 413 } // namespace switches
416 414
417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ 415 #endif // CHROME_COMMON_CHROME_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/browser/zygote_host_linux.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698