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

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

Issue 1842643004: Add --disable-webusb-security flag for testing existing devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed and refactored FindInWebUsbAllowedOrigins. Created 4 years, 8 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
« 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; 329 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble";
330 330
331 // Disables the Site Engagement service, which records interaction with sites 331 // Disables the Site Engagement service, which records interaction with sites
332 // and allocates certain resources accordingly. 332 // and allocates certain resources accordingly.
333 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; 333 const char kDisableSiteEngagementService[] = "disable-site-engagement-service";
334 334
335 // Disables Web Notification custom layouts. 335 // Disables Web Notification custom layouts.
336 const char kDisableWebNotificationCustomLayouts[] = 336 const char kDisableWebNotificationCustomLayouts[] =
337 "disable-web-notification-custom-layouts"; 337 "disable-web-notification-custom-layouts";
338 338
339 // Disables WebUSB's CORS-like checks for origin->device communication.
340 const char kDisableWebUsbSecurity[] = "disable-webusb-security";
341
339 // Some tests seem to require the application to close when the last 342 // Some tests seem to require the application to close when the last
340 // browser window is closed. Thus, we need a switch to force this behavior 343 // browser window is closed. Thus, we need a switch to force this behavior
341 // for ChromeOS Aura, disable "zero window mode". 344 // for ChromeOS Aura, disable "zero window mode".
342 // TODO(pkotwicz): Investigate if this bug can be removed. 345 // TODO(pkotwicz): Investigate if this bug can be removed.
343 // (http://crbug.com/119175) 346 // (http://crbug.com/119175)
344 const char kDisableZeroBrowsersOpenForTests[] = 347 const char kDisableZeroBrowsersOpenForTests[] =
345 "disable-zero-browsers-open-for-tests"; 348 "disable-zero-browsers-open-for-tests";
346 349
347 // Use a specific disk cache location, rather than one derived from the 350 // Use a specific disk cache location, rather than one derived from the
348 // UserDatadir. 351 // UserDatadir.
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 1369
1367 // ----------------------------------------------------------------------------- 1370 // -----------------------------------------------------------------------------
1368 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1371 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1369 // 1372 //
1370 // You were going to just dump your switches here, weren't you? Instead, please 1373 // You were going to just dump your switches here, weren't you? Instead, please
1371 // put them in alphabetical order above, or in order inside the appropriate 1374 // put them in alphabetical order above, or in order inside the appropriate
1372 // ifdef at the bottom. The order should match the header. 1375 // ifdef at the bottom. The order should match the header.
1373 // ----------------------------------------------------------------------------- 1376 // -----------------------------------------------------------------------------
1374 1377
1375 } // namespace switches 1378 } // 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