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

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

Issue 2526293003: PaymentApp: Add classes for supporting Web Based Payment Apps (Closed)
Patch Set: web based -> service worker (based) Created 4 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
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 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // Enables the QUIC protocol. This is a temporary testing flag. 438 // Enables the QUIC protocol. This is a temporary testing flag.
439 const char kEnableQuic[] = "enable-quic"; 439 const char kEnableQuic[] = "enable-quic";
440 440
441 // Enable use of Chromium's port selection for the ephemeral port via bind(). 441 // Enable use of Chromium's port selection for the ephemeral port via bind().
442 // This only has an effect if the QUIC protocol is enabled. 442 // This only has an effect if the QUIC protocol is enabled.
443 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; 443 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
444 444
445 // Switches 'Save as...' context and app menu labels to 'Download...'. 445 // Switches 'Save as...' context and app menu labels to 'Download...'.
446 const char kEnableSaveAsMenuLabelExperiment[] = "saveas-menu-label"; 446 const char kEnableSaveAsMenuLabelExperiment[] = "saveas-menu-label";
447 447
448 // Enable support for service-worker based payment apps as defined by w3c here:
449 // https://w3c.github.io/webpayments-payment-apps-api/
450 const char kEnableServiceWorkerPaymentApps[] =
451 "enable-service-worker-payment-apps";
452
448 // Enable settings in a separate browser window per profile 453 // Enable settings in a separate browser window per profile
449 // (see SettingsWindowEnabled() below). 454 // (see SettingsWindowEnabled() below).
450 const char kEnableSettingsWindow[] = "enable-settings-window"; 455 const char kEnableSettingsWindow[] = "enable-settings-window";
451 456
452 // Enable the Site Engagement App Banner which triggers app install banners 457 // Enable the Site Engagement App Banner which triggers app install banners
453 // using the site engagement service rather than a navigation-based heuristic. 458 // using the site engagement service rather than a navigation-based heuristic.
454 // Implicitly enables the site engagement service. 459 // Implicitly enables the site engagement service.
455 const char kEnableSiteEngagementAppBanner[] = 460 const char kEnableSiteEngagementAppBanner[] =
456 "enable-site-engagement-app-banner"; 461 "enable-site-engagement-app-banner";
457 462
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 1323
1319 // ----------------------------------------------------------------------------- 1324 // -----------------------------------------------------------------------------
1320 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1325 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1321 // 1326 //
1322 // You were going to just dump your switches here, weren't you? Instead, please 1327 // You were going to just dump your switches here, weren't you? Instead, please
1323 // put them in alphabetical order above, or in order inside the appropriate 1328 // put them in alphabetical order above, or in order inside the appropriate
1324 // ifdef at the bottom. The order should match the header. 1329 // ifdef at the bottom. The order should match the header.
1325 // ----------------------------------------------------------------------------- 1330 // -----------------------------------------------------------------------------
1326 1331
1327 } // namespace switches 1332 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698