Chromium Code Reviews| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 // print job. Defaults to null if unspecified. | 153 // print job. Defaults to null if unspecified. |
| 154 const char kCloudPrintPrintTicket[] = "cloud-print-print-ticket"; | 154 const char kCloudPrintPrintTicket[] = "cloud-print-print-ticket"; |
| 155 | 155 |
| 156 // Used with kCloudPrintFile to specify a title for the resulting print job. | 156 // Used with kCloudPrintFile to specify a title for the resulting print job. |
| 157 const char kCloudPrintJobTitle[] = "cloud-print-job-title"; | 157 const char kCloudPrintJobTitle[] = "cloud-print-job-title"; |
| 158 | 158 |
| 159 // Setup cloud print proxy for provided printers. This does not start | 159 // Setup cloud print proxy for provided printers. This does not start |
| 160 // service or register proxy for autostart. | 160 // service or register proxy for autostart. |
| 161 const char kCloudPrintSetupProxy[] = "cloud-print-setup-proxy"; | 161 const char kCloudPrintSetupProxy[] = "cloud-print-setup-proxy"; |
| 162 | 162 |
| 163 // Use this address for calls to the Copresence server (via Apiary). | |
|
Daniel Erat
2014/08/06 00:44:46
change to:
// Address for calls to the Copresence
Charlie
2014/08/06 19:32:17
Done.
| |
| 164 // Defaults to https://www.googleapis.com/copresence/v2/copresence. | |
| 165 const char kCopresenceServer[] = "copresence-server"; | |
| 166 | |
| 167 // Use this Apiary tracing token for calls to the Copresence server. | |
|
Daniel Erat
2014/08/06 00:44:46
change to:
// Apiary tracing token etc.
Charlie
2014/08/06 19:32:17
Done.
| |
| 168 const char kCopresenceTracingToken[] = "copresence-tracing-token"; | |
| 169 | |
| 163 // Comma-separated list of BrowserThreads that cause browser process to crash | 170 // Comma-separated list of BrowserThreads that cause browser process to crash |
| 164 // 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 |
| 165 // list of BrowserThreads that are supported. | 172 // list of BrowserThreads that are supported. |
| 166 // | 173 // |
| 167 // For example: | 174 // For example: |
| 168 // --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 |
| 169 // 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 |
| 170 // are responding is less than or equal to 3. | 177 // are responding is less than or equal to 3. |
| 171 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 178 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
| 172 | 179 |
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 773 // Used for testing - keeps browser alive after last browser window closes. | 780 // Used for testing - keeps browser alive after last browser window closes. |
| 774 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 781 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
| 775 | 782 |
| 776 // Enable Kiosk mode. | 783 // Enable Kiosk mode. |
| 777 const char kKioskMode[] = "kiosk"; | 784 const char kKioskMode[] = "kiosk"; |
| 778 | 785 |
| 779 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 786 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
| 780 // See http://crbug.com/31395. | 787 // See http://crbug.com/31395. |
| 781 const char kKioskModePrinting[] = "kiosk-printing"; | 788 const char kKioskModePrinting[] = "kiosk-printing"; |
| 782 | 789 |
| 783 // Use this server address ledger. | 790 // Use this address for the ledger (Copresence) server. |
|
Daniel Erat
2014/08/06 00:44:46
get rid of "Use this" here and in the next comment
Charlie
2014/08/06 19:32:17
Done.
| |
| 791 // Ledger is deprecated; use the chrome.copresence API instead. | |
| 784 const char kLedgerServer[] = "ledger-server"; | 792 const char kLedgerServer[] = "ledger-server"; |
| 785 | 793 |
| 786 // Use this tracing token for ledger. | 794 // Use this tracing token for calls to the ledger (Copresence) server. |
| 795 // Ledger is deprecated; use the chrome.copresence API instead. | |
| 787 const char kLedgerTracingToken[] = "ledger-tracing-token"; | 796 const char kLedgerTracingToken[] = "ledger-tracing-token"; |
| 788 | 797 |
| 789 // Causes Chrome to attempt to get metadata from the webstore for the | 798 // Causes Chrome to attempt to get metadata from the webstore for the |
| 790 // given item, and then prompt the user to download and install it. | 799 // given item, and then prompt the user to download and install it. |
| 791 const char kLimitedInstallFromWebstore[] = "limited-install-from-webstore"; | 800 const char kLimitedInstallFromWebstore[] = "limited-install-from-webstore"; |
| 792 | 801 |
| 793 // Comma-separated list of directories with component extensions to load. | 802 // Comma-separated list of directories with component extensions to load. |
| 794 const char kLoadComponentExtension[] = "load-component-extension"; | 803 const char kLoadComponentExtension[] = "load-component-extension"; |
| 795 | 804 |
| 796 // Loads an extension from the specified directory. | 805 // Loads an extension from the specified directory. |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1380 | 1389 |
| 1381 // ----------------------------------------------------------------------------- | 1390 // ----------------------------------------------------------------------------- |
| 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1391 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1383 // | 1392 // |
| 1384 // You were going to just dump your switches here, weren't you? Instead, please | 1393 // You were going to just dump your switches here, weren't you? Instead, please |
| 1385 // put them in alphabetical order above, or in order inside the appropriate | 1394 // put them in alphabetical order above, or in order inside the appropriate |
| 1386 // ifdef at the bottom. The order should match the header. | 1395 // ifdef at the bottom. The order should match the header. |
| 1387 // ----------------------------------------------------------------------------- | 1396 // ----------------------------------------------------------------------------- |
| 1388 | 1397 |
| 1389 } // namespace switches | 1398 } // namespace switches |
| OLD | NEW |