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

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

Issue 1426583008: Merge WebUSB notification flag into experimental web platform features. (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/common/chrome_switches.h ('k') | no next file » | 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 #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 9
10 namespace switches { 10 namespace switches {
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 "enable-user-controlled-alternate-protocol-ports"; 549 "enable-user-controlled-alternate-protocol-ports";
550 550
551 // Enables a new "web app" style frame for hosted apps (including bookmark 551 // Enables a new "web app" style frame for hosted apps (including bookmark
552 // apps). 552 // apps).
553 const char kEnableWebAppFrame[] = "enable-web-app-frame"; 553 const char kEnableWebAppFrame[] = "enable-web-app-frame";
554 554
555 // Enables Web Notification custom layouts. 555 // Enables Web Notification custom layouts.
556 const char kEnableWebNotificationCustomLayouts[] = 556 const char kEnableWebNotificationCustomLayouts[] =
557 "enable-web-notification-custom-layouts"; 557 "enable-web-notification-custom-layouts";
558 558
559 // Enables webusb notifications, which shows notifications when usb devices with
560 // landing page are plugged in.
561 const char kEnableWebUsbNotifications[] = "enable-webusb-notifications";
562
563 // Bypasses the WebUSB permission prompt as it is not yet implemented. 559 // Bypasses the WebUSB permission prompt as it is not yet implemented.
564 // crbug.com/529950 560 // crbug.com/529950
565 const char kEnableWebUsbOnAnyOrigin[] = "enable-webusb-on-any-origin"; 561 const char kEnableWebUsbOnAnyOrigin[] = "enable-webusb-on-any-origin";
566 562
567 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. 563 // Enables synchronizing WiFi credentials across devices, using Chrome Sync.
568 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; 564 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync";
569 565
570 // Values for the kExtensionContentVerification flag. 566 // Values for the kExtensionContentVerification flag.
571 // See ContentVerifierDelegate::Mode for more explanation. 567 // See ContentVerifierDelegate::Mode for more explanation.
572 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; 568 const char kExtensionContentVerificationBootstrap[] = "bootstrap";
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 1388
1393 // ----------------------------------------------------------------------------- 1389 // -----------------------------------------------------------------------------
1394 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1395 // 1391 //
1396 // You were going to just dump your switches here, weren't you? Instead, please 1392 // You were going to just dump your switches here, weren't you? Instead, please
1397 // put them in alphabetical order above, or in order inside the appropriate 1393 // put them in alphabetical order above, or in order inside the appropriate
1398 // ifdef at the bottom. The order should match the header. 1394 // ifdef at the bottom. The order should match the header.
1399 // ----------------------------------------------------------------------------- 1395 // -----------------------------------------------------------------------------
1400 1396
1401 } // namespace switches 1397 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698