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

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

Issue 2006523002: Add a flag for reporting permission actions to Safe Browsing servers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename flag title Created 4 years, 7 months 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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 const char kDisableOfflineAutoReloadVisibleOnly[] = 293 const char kDisableOfflineAutoReloadVisibleOnly[] =
294 "disable-offline-auto-reload-visible-only"; 294 "disable-offline-auto-reload-visible-only";
295 295
296 // Disable out-of-process V8 proxy resolver. 296 // Disable out-of-process V8 proxy resolver.
297 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; 297 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac";
298 298
299 // Disables the Permissions Blacklist, which blocks access to permissions 299 // Disables the Permissions Blacklist, which blocks access to permissions
300 // for blacklisted sites. 300 // for blacklisted sites.
301 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist"; 301 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist";
302 302
303 // Disables permission action reporting to Safe Browsing servers for
304 // opted in users.
raymes 2016/05/24 01:47:43 nit: fill 80 chars on each line
stefanocs 2016/05/24 03:00:08 Done.
305 const char kDisablePermissionActionReporting[] =
306 "disable-permission-action-reporting";
307
303 // Disable pop-up blocking. 308 // Disable pop-up blocking.
304 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 309 const char kDisablePopupBlocking[] = "disable-popup-blocking";
305 310
306 // Disable speculative TCP/IP preconnection. 311 // Disable speculative TCP/IP preconnection.
307 const char kDisablePreconnect[] = "disable-preconnect"; 312 const char kDisablePreconnect[] = "disable-preconnect";
308 313
309 // Disables print preview (For testing, and for users who don't like us. :[ ) 314 // Disables print preview (For testing, and for users who don't like us. :[ )
310 const char kDisablePrintPreview[] = "disable-print-preview"; 315 const char kDisablePrintPreview[] = "disable-print-preview";
311 316
312 // Normally when the user attempts to navigate to a page that was the result of 317 // Normally when the user attempts to navigate to a page that was the result of
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 "enable-offline-auto-reload-visible-only"; 475 "enable-offline-auto-reload-visible-only";
471 476
472 // Enables or disables panels (always on-top docked pop-up windows). 477 // Enables or disables panels (always on-top docked pop-up windows).
473 const char kEnablePanels[] = "enable-panels"; 478 const char kEnablePanels[] = "enable-panels";
474 const char kDisablePanels[] = "disable-panels"; 479 const char kDisablePanels[] = "disable-panels";
475 480
476 // Enables the Permissions Blacklist, which blocks access to permissions 481 // Enables the Permissions Blacklist, which blocks access to permissions
477 // for blacklisted sites. 482 // for blacklisted sites.
478 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; 483 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist";
479 484
485 // Enables permission action reporting to Safe Browsing servers for
486 // opted in users.
raymes 2016/05/24 01:47:43 nit: same here
stefanocs 2016/05/24 03:00:08 Done.
487 const char kEnablePermissionActionReporting[] =
488 "enable-permission-action-reporting";
489
480 // Enables a number of potentially annoying security features (strict mixed 490 // Enables a number of potentially annoying security features (strict mixed
481 // content mode, powerful feature restrictions, etc.) 491 // content mode, powerful feature restrictions, etc.)
482 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = 492 const char kEnablePotentiallyAnnoyingSecurityFeatures[] =
483 "enable-potentially-annoying-security-features"; 493 "enable-potentially-annoying-security-features";
484 494
485 // Enables the Power overlay in Settings. 495 // Enables the Power overlay in Settings.
486 const char kEnablePowerOverlay[] = "enable-power-overlay"; 496 const char kEnablePowerOverlay[] = "enable-power-overlay";
487 497
488 // Enables showing unregistered printers in print preview 498 // Enables showing unregistered printers in print preview
489 const char kEnablePrintPreviewRegisterPromos[] = 499 const char kEnablePrintPreviewRegisterPromos[] =
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1373
1364 // ----------------------------------------------------------------------------- 1374 // -----------------------------------------------------------------------------
1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1375 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1366 // 1376 //
1367 // You were going to just dump your switches here, weren't you? Instead, please 1377 // You were going to just dump your switches here, weren't you? Instead, please
1368 // put them in alphabetical order above, or in order inside the appropriate 1378 // put them in alphabetical order above, or in order inside the appropriate
1369 // ifdef at the bottom. The order should match the header. 1379 // ifdef at the bottom. The order should match the header.
1370 // ----------------------------------------------------------------------------- 1380 // -----------------------------------------------------------------------------
1371 1381
1372 } // namespace switches 1382 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698