| 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 const char kDisableBackgroundMode[] = "disable-background-mode"; | 257 const char kDisableBackgroundMode[] = "disable-background-mode"; |
| 258 | 258 |
| 259 // Disable several subsystems which run network requests in the background. | 259 // Disable several subsystems which run network requests in the background. |
| 260 // This is for use when doing network performance testing to avoid noise in the | 260 // This is for use when doing network performance testing to avoid noise in the |
| 261 // measurements. | 261 // measurements. |
| 262 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 262 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
| 263 | 263 |
| 264 // Disables the bundled PPAPI version of Flash (if it's enabled by default). | 264 // Disables the bundled PPAPI version of Flash (if it's enabled by default). |
| 265 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 265 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| 266 | 266 |
| 267 // Disables the bookmark autocomplete provider (BookmarkProvider). |
| 268 const char kDisableBookmarkAutocompleteProvider[] = |
| 269 "disable-bookmark-autocomplete-provider"; |
| 270 |
| 267 // Disables the client-side phishing detection feature. Note that even if | 271 // Disables the client-side phishing detection feature. Note that even if |
| 268 // client-side phishing detection is enabled, it will only be active if the | 272 // client-side phishing detection is enabled, it will only be active if the |
| 269 // user has opted in to UMA stats and SafeBrowsing is enabled in the | 273 // user has opted in to UMA stats and SafeBrowsing is enabled in the |
| 270 // preferences. | 274 // preferences. |
| 271 const char kDisableClientSidePhishingDetection[] = | 275 const char kDisableClientSidePhishingDetection[] = |
| 272 "disable-client-side-phishing-detection"; | 276 "disable-client-side-phishing-detection"; |
| 273 | 277 |
| 274 const char kDisableComponentUpdate[] = "disable-component-update"; | 278 const char kDisableComponentUpdate[] = "disable-component-update"; |
| 275 | 279 |
| 276 // Disables establishing a backup TCP connection if a specified timeout is | 280 // Disables establishing a backup TCP connection if a specified timeout is |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 | 1576 |
| 1573 // ----------------------------------------------------------------------------- | 1577 // ----------------------------------------------------------------------------- |
| 1574 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1578 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1575 // | 1579 // |
| 1576 // You were going to just dump your switches here, weren't you? Instead, please | 1580 // You were going to just dump your switches here, weren't you? Instead, please |
| 1577 // put them in alphabetical order above, or in order inside the appropriate | 1581 // put them in alphabetical order above, or in order inside the appropriate |
| 1578 // ifdef at the bottom. The order should match the header. | 1582 // ifdef at the bottom. The order should match the header. |
| 1579 // ----------------------------------------------------------------------------- | 1583 // ----------------------------------------------------------------------------- |
| 1580 | 1584 |
| 1581 } // namespace switches | 1585 } // namespace switches |
| OLD | NEW |