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

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

Issue 1530403002: Removal of geolocation APIs on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 4 years, 11 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate"; 449 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
450 450
451 // Enables StatsTable, logging statistics to a global named shared memory table. 451 // Enables StatsTable, logging statistics to a global named shared memory table.
452 const char kEnableStatsTable[] = "enable-stats-table"; 452 const char kEnableStatsTable[] = "enable-stats-table";
453 453
454 // Blocks all insecure requests from secure contexts, and prevents the user 454 // Blocks all insecure requests from secure contexts, and prevents the user
455 // from overriding that decision. 455 // from overriding that decision.
456 const char kEnableStrictMixedContentChecking[] = 456 const char kEnableStrictMixedContentChecking[] =
457 "enable-strict-mixed-content-checking"; 457 "enable-strict-mixed-content-checking";
458 458
459 // Blocks insecure usage of number of powerful features (geolocation, for 459 // Blocks insecure usage of number of powerful features (device orientation, for
Charlie Reis 2016/01/06 21:39:40 nit: of a number
jww 2016/01/06 23:18:56 Done.
460 // example) that we haven't yet deprecated for the web at large. 460 // example) that we haven't yet deprecated for the web at large.
461 const char kEnableStrictPowerfulFeatureRestrictions[] = 461 const char kEnableStrictPowerfulFeatureRestrictions[] =
462 "enable-strict-powerful-feature-restrictions"; 462 "enable-strict-powerful-feature-restrictions";
463 463
464 // Enable use of experimental TCP sockets API for sending data in the 464 // Enable use of experimental TCP sockets API for sending data in the
465 // SYN packet. 465 // SYN packet.
466 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 466 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
467 467
468 // Enabled threaded compositing for layout tests. 468 // Enabled threaded compositing for layout tests.
469 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 469 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 995 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
996 996
997 // Enables the exporting of the tracing events to ETW. This is only supported on 997 // Enables the exporting of the tracing events to ETW. This is only supported on
998 // Windows Vista and later. 998 // Windows Vista and later.
999 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 999 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1000 #endif 1000 #endif
1001 1001
1002 // Don't dump stuff here, follow the same order as the header. 1002 // Don't dump stuff here, follow the same order as the header.
1003 1003
1004 } // namespace switches 1004 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698