OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |