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

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

Issue 1409003002: [SafeBrowsing] Block dangerous unchecked downloads based on a Finch trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('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) 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 the shared command-line switches used by code in the Chrome 5 // Defines the shared command-line switches used by code in the Chrome
6 // directory that don't have anywhere more specific to go. 6 // directory that don't have anywhere more specific to go.
7 7
8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_
9 #define CHROME_COMMON_CHROME_SWITCHES_H_ 9 #define CHROME_COMMON_CHROME_SWITCHES_H_
10 10
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 #endif 387 #endif
388 388
389 #if defined(ENABLE_PLUGINS) 389 #if defined(ENABLE_PLUGINS)
390 extern const char kAllowNaClCrxFsAPI[]; 390 extern const char kAllowNaClCrxFsAPI[];
391 extern const char kAllowNaClFileHandleAPI[]; 391 extern const char kAllowNaClFileHandleAPI[];
392 extern const char kAllowNaClSocketAPI[]; 392 extern const char kAllowNaClSocketAPI[];
393 extern const char kDisablePluginPowerSaver[]; 393 extern const char kDisablePluginPowerSaver[];
394 extern const char kEnablePluginPowerSaver[]; 394 extern const char kEnablePluginPowerSaver[];
395 #endif 395 #endif
396 396
397 #if defined(FULL_SAFE_BROWSING)
398 extern const char kAllowUncheckedDangerousDownloads[];
399 extern const char kDisallowUncheckedDangerousDownloads[];
400 #endif
401
397 #if defined(ENABLE_TASK_MANAGER) 402 #if defined(ENABLE_TASK_MANAGER)
398 extern const char kDisableNewTaskManager[]; 403 extern const char kDisableNewTaskManager[];
399 #endif // defined(ENABLE_TASK_MANAGER) 404 #endif // defined(ENABLE_TASK_MANAGER)
400 405
401 bool AboutInSettingsEnabled(); 406 bool AboutInSettingsEnabled();
402 bool MdExtensionsEnabled(); 407 bool MdExtensionsEnabled();
403 bool MdPolicyPageEnabled(); 408 bool MdPolicyPageEnabled();
404 bool MediaRouterEnabled(); 409 bool MediaRouterEnabled();
405 bool PdfMaterialUIEnabled(); 410 bool PdfMaterialUIEnabled();
406 bool SettingsWindowEnabled(); 411 bool SettingsWindowEnabled();
407 412
408 #if defined(OS_CHROMEOS) 413 #if defined(OS_CHROMEOS)
409 bool PowerOverlayEnabled(); 414 bool PowerOverlayEnabled();
410 #endif 415 #endif
411 416
412 #if defined(ENABLE_TASK_MANAGER) 417 #if defined(ENABLE_TASK_MANAGER)
413 bool NewTaskManagerEnabled(); 418 bool NewTaskManagerEnabled();
414 #endif // defined(ENABLE_TASK_MANAGER) 419 #endif // defined(ENABLE_TASK_MANAGER)
415 420
416 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 421 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
417 // alphabetical order, or in one of the ifdefs (also in order in each section). 422 // alphabetical order, or in one of the ifdefs (also in order in each section).
418 423
419 } // namespace switches 424 } // namespace switches
420 425
421 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ 426 #endif // CHROME_COMMON_CHROME_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698