| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // print job. Defaults to null if unspecified. | 160 // print job. Defaults to null if unspecified. |
| 161 const char kCloudPrintPrintTicket[] = "cloud-print-print-ticket"; | 161 const char kCloudPrintPrintTicket[] = "cloud-print-print-ticket"; |
| 162 | 162 |
| 163 // Used with kCloudPrintFile to specify a title for the resulting print job. | 163 // Used with kCloudPrintFile to specify a title for the resulting print job. |
| 164 const char kCloudPrintJobTitle[] = "cloud-print-job-title"; | 164 const char kCloudPrintJobTitle[] = "cloud-print-job-title"; |
| 165 | 165 |
| 166 // Setup cloud print proxy for provided printers. This does not start | 166 // Setup cloud print proxy for provided printers. This does not start |
| 167 // service or register proxy for autostart. | 167 // service or register proxy for autostart. |
| 168 const char kCloudPrintSetupProxy[] = "cloud-print-setup-proxy"; | 168 const char kCloudPrintSetupProxy[] = "cloud-print-setup-proxy"; |
| 169 | 169 |
| 170 // Comma-separated options to troubleshoot the component updater. Only valid | |
| 171 // for the browser process. | |
| 172 const char kComponentUpdater[] = "component-updater"; | |
| 173 | |
| 174 // Comma-separated list of BrowserThreads that cause browser process to crash | 170 // Comma-separated list of BrowserThreads that cause browser process to crash |
| 175 // if the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the | 171 // if the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the |
| 176 // list of BrowserThreads that are supported. | 172 // list of BrowserThreads that are supported. |
| 177 // | 173 // |
| 178 // For example: | 174 // For example: |
| 179 // --crash-on-hang-threads=UI:3:18,IO:3:18 --> Crash the browser if UI or IO | 175 // --crash-on-hang-threads=UI:3:18,IO:3:18 --> Crash the browser if UI or IO |
| 180 // is not responsive for 18 seconds and the number of browser threads that | 176 // is not responsive for 18 seconds and the number of browser threads that |
| 181 // are responding is less than or equal to 3. | 177 // are responding is less than or equal to 3. |
| 182 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 178 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
| 183 | 179 |
| (...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1402 | 1398 |
| 1403 // ----------------------------------------------------------------------------- | 1399 // ----------------------------------------------------------------------------- |
| 1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1400 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1405 // | 1401 // |
| 1406 // You were going to just dump your switches here, weren't you? Instead, please | 1402 // You were going to just dump your switches here, weren't you? Instead, please |
| 1407 // put them in alphabetical order above, or in order inside the appropriate | 1403 // put them in alphabetical order above, or in order inside the appropriate |
| 1408 // ifdef at the bottom. The order should match the header. | 1404 // ifdef at the bottom. The order should match the header. |
| 1409 // ----------------------------------------------------------------------------- | 1405 // ----------------------------------------------------------------------------- |
| 1410 | 1406 |
| 1411 } // namespace switches | 1407 } // namespace switches |
| OLD | NEW |