| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; | 197 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; |
| 198 | 198 |
| 199 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings | 199 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings |
| 200 // instead of as a separate page, unless this flag is specified. | 200 // instead of as a separate page, unless this flag is specified. |
| 201 const char kDisableAboutInSettings[] = "disable-about-in-settings"; | 201 const char kDisableAboutInSettings[] = "disable-about-in-settings"; |
| 202 | 202 |
| 203 // Disables the display of a banner allowing the user to add a web | 203 // Disables the display of a banner allowing the user to add a web |
| 204 // app to their shelf (or platform-specific equivalent) | 204 // app to their shelf (or platform-specific equivalent) |
| 205 const char kDisableAddToShelf[] = "disable-add-to-shelf"; | 205 const char kDisableAddToShelf[] = "disable-add-to-shelf"; |
| 206 | 206 |
| 207 #if defined(OS_ANDROID) |
| 208 const char kDisableAppLink[] = "disable-app-link"; |
| 209 #endif |
| 210 |
| 207 // Disables the experimental asynchronous DNS client. | 211 // Disables the experimental asynchronous DNS client. |
| 208 const char kDisableAsyncDns[] = "disable-async-dns"; | 212 const char kDisableAsyncDns[] = "disable-async-dns"; |
| 209 | 213 |
| 210 // Disable several subsystems which run network requests in the background. | 214 // Disable several subsystems which run network requests in the background. |
| 211 // This is for use when doing network performance testing to avoid noise in the | 215 // This is for use when doing network performance testing to avoid noise in the |
| 212 // measurements. | 216 // measurements. |
| 213 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 217 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
| 214 | 218 |
| 215 // Disables the bundled PPAPI version of Flash. | 219 // Disables the bundled PPAPI version of Flash. |
| 216 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 220 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 // given file. The file is overwritten if it exists. | 359 // given file. The file is overwritten if it exists. |
| 356 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; | 360 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; |
| 357 | 361 |
| 358 // Overrides the path of Easy Unlock component app. | 362 // Overrides the path of Easy Unlock component app. |
| 359 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; | 363 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; |
| 360 | 364 |
| 361 // Enables the display of a banner allowing the user to add a web | 365 // Enables the display of a banner allowing the user to add a web |
| 362 // app to their shelf (or platform-specific equivalent) | 366 // app to their shelf (or platform-specific equivalent) |
| 363 const char kEnableAddToShelf[] = "enable-add-to-shelf"; | 367 const char kEnableAddToShelf[] = "enable-add-to-shelf"; |
| 364 | 368 |
| 369 #if defined(OS_ANDROID) |
| 370 const char kEnableAppLink[] = "enable-app-link"; |
| 371 #endif |
| 372 |
| 365 // Enables all bookmarks view in bookmark manager. | 373 // Enables all bookmarks view in bookmark manager. |
| 366 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view"; | 374 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view"; |
| 367 | 375 |
| 368 // Enable OS integration for Chrome app file associations. | 376 // Enable OS integration for Chrome app file associations. |
| 369 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; | 377 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; |
| 370 | 378 |
| 371 // If the WebRTC logging private API is active, enables audio debug recordings. | 379 // If the WebRTC logging private API is active, enables audio debug recordings. |
| 372 const char kEnableAudioDebugRecordingsFromExtension[] = | 380 const char kEnableAudioDebugRecordingsFromExtension[] = |
| 373 "enable-audio-debug-recordings-from-extension"; | 381 "enable-audio-debug-recordings-from-extension"; |
| 374 | 382 |
| (...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1355 | 1363 |
| 1356 // ----------------------------------------------------------------------------- | 1364 // ----------------------------------------------------------------------------- |
| 1357 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1358 // | 1366 // |
| 1359 // You were going to just dump your switches here, weren't you? Instead, please | 1367 // You were going to just dump your switches here, weren't you? Instead, please |
| 1360 // put them in alphabetical order above, or in order inside the appropriate | 1368 // put them in alphabetical order above, or in order inside the appropriate |
| 1361 // ifdef at the bottom. The order should match the header. | 1369 // ifdef at the bottom. The order should match the header. |
| 1362 // ----------------------------------------------------------------------------- | 1370 // ----------------------------------------------------------------------------- |
| 1363 | 1371 |
| 1364 } // namespace switches | 1372 } // namespace switches |
| OLD | NEW |