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

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

Issue 2611773004: Allow top-level frames to request any USB device. (Closed)
Patch Set: Add comments explaining how the mock devices are being used. Created 3 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/BUILD.gn » ('j') | 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 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 const char kDisableQuic[] = "disable-quic"; 276 const char kDisableQuic[] = "disable-quic";
277 277
278 // Disable settings in a separate browser window per profile 278 // Disable settings in a separate browser window per profile
279 // (see SettingsWindowEnabled() below). 279 // (see SettingsWindowEnabled() below).
280 const char kDisableSettingsWindow[] = "disable-settings-window"; 280 const char kDisableSettingsWindow[] = "disable-settings-window";
281 281
282 // Disables Web Notification custom layouts. 282 // Disables Web Notification custom layouts.
283 const char kDisableWebNotificationCustomLayouts[] = 283 const char kDisableWebNotificationCustomLayouts[] =
284 "disable-web-notification-custom-layouts"; 284 "disable-web-notification-custom-layouts";
285 285
286 // Disables WebUSB's CORS-like checks for origin->device communication.
287 const char kDisableWebUsbSecurity[] = "disable-webusb-security";
288
289 // Some tests seem to require the application to close when the last 286 // Some tests seem to require the application to close when the last
290 // browser window is closed. Thus, we need a switch to force this behavior 287 // browser window is closed. Thus, we need a switch to force this behavior
291 // for ChromeOS Aura, disable "zero window mode". 288 // for ChromeOS Aura, disable "zero window mode".
292 // TODO(pkotwicz): Investigate if this bug can be removed. 289 // TODO(pkotwicz): Investigate if this bug can be removed.
293 // (http://crbug.com/119175) 290 // (http://crbug.com/119175)
294 const char kDisableZeroBrowsersOpenForTests[] = 291 const char kDisableZeroBrowsersOpenForTests[] =
295 "disable-zero-browsers-open-for-tests"; 292 "disable-zero-browsers-open-for-tests";
296 293
297 // Use a specific disk cache location, rather than one derived from the 294 // Use a specific disk cache location, rather than one derived from the
298 // UserDatadir. 295 // UserDatadir.
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 1229
1233 // ----------------------------------------------------------------------------- 1230 // -----------------------------------------------------------------------------
1234 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1231 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1235 // 1232 //
1236 // You were going to just dump your switches here, weren't you? Instead, please 1233 // You were going to just dump your switches here, weren't you? Instead, please
1237 // put them in alphabetical order above, or in order inside the appropriate 1234 // put them in alphabetical order above, or in order inside the appropriate
1238 // ifdef at the bottom. The order should match the header. 1235 // ifdef at the bottom. The order should match the header.
1239 // ----------------------------------------------------------------------------- 1236 // -----------------------------------------------------------------------------
1240 1237
1241 } // namespace switches 1238 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698