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

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

Issue 1701313002: Partial implementation of subscription restrictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // Blocks all insecure requests from secure contexts, and prevents the user 461 // Blocks all insecure requests from secure contexts, and prevents the user
462 // from overriding that decision. 462 // from overriding that decision.
463 const char kEnableStrictMixedContentChecking[] = 463 const char kEnableStrictMixedContentChecking[] =
464 "enable-strict-mixed-content-checking"; 464 "enable-strict-mixed-content-checking";
465 465
466 // Blocks insecure usage of a number of powerful features (device orientation, 466 // Blocks insecure usage of a number of powerful features (device orientation,
467 // for example) that we haven't yet deprecated for the web at large. 467 // for example) that we haven't yet deprecated for the web at large.
468 const char kEnableStrictPowerfulFeatureRestrictions[] = 468 const char kEnableStrictPowerfulFeatureRestrictions[] =
469 "enable-strict-powerful-feature-restrictions"; 469 "enable-strict-powerful-feature-restrictions";
470 470
471 // Allow JavaScript to register for push messaging subscriptions using the
472 // public key of the application server instead of a sender ID handed out by the
473 // developer console.
474 const char kEnableSubscriptionRestrictions[] =
Peter Beverloo 2016/02/17 16:15:36 Right now, we're hiding the feature behind *two* c
harkness 2016/02/18 10:45:15 Done.
475 "enable-subscription-restrictions";
476
471 // Enable use of experimental TCP sockets API for sending data in the 477 // Enable use of experimental TCP sockets API for sending data in the
472 // SYN packet. 478 // SYN packet.
473 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 479 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
474 480
475 // Enabled threaded compositing for layout tests. 481 // Enabled threaded compositing for layout tests.
476 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 482 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
477 483
478 // Enable tracing during the execution of browser tests. 484 // Enable tracing during the execution of browser tests.
479 const char kEnableTracing[] = "enable-tracing"; 485 const char kEnableTracing[] = "enable-tracing";
480 486
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1037 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1032 1038
1033 // Enables the exporting of the tracing events to ETW. This is only supported on 1039 // Enables the exporting of the tracing events to ETW. This is only supported on
1034 // Windows Vista and later. 1040 // Windows Vista and later.
1035 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1041 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1036 #endif 1042 #endif
1037 1043
1038 // Don't dump stuff here, follow the same order as the header. 1044 // Don't dump stuff here, follow the same order as the header.
1039 1045
1040 } // namespace switches 1046 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698