Chromium Code Reviews| Index: shell/switches.cc |
| diff --git a/shell/switches.cc b/shell/switches.cc |
| index 43df7cd0e0b2e05c2218f768a385e7b8f0a29ba4..005ba320acfc76a72ef58a4c971a511c75b0a3c8 100644 |
| --- a/shell/switches.cc |
| +++ b/shell/switches.cc |
| @@ -32,6 +32,9 @@ const char kContentHandlers[] = "content-handlers"; |
| // instructions. |
| const char kDisableCache[] = "disable-cache"; |
| +// If set apps downloaded are not deleted. |
| +const char kDontDeleteOnDownload[] = "dont-delete-on-download"; |
| + |
| // Allow externally-running applications to discover, connect to, and register |
| // themselves with the shell. |
| // TODO(cmasone): Work in progress. Once we're sure this works, remove. |
| @@ -58,15 +61,16 @@ const char kMapOrigin[] = "map-origin"; |
| // url_resolver.cc for details. |
| const char kOrigin[] = "origin"; |
| +// If set apps downloaded are saved in with a predictable filename, to help |
| +// remote debugging. |
|
Nick Bray (chromium)
2015/03/19 17:45:20
Comment / crosslink / document.
qsr
2015/03/20 11:50:49
Done.
|
| +const char kPredictableAppFilenames[] = "predictable-app-filenames"; |
| + |
| // Specifies a set of mappings to apply when resolving urls. The value is a set |
| // of ',' separated mappings, where each mapping consists of a pair of urls |
| // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, |
| // the first maps 'a' to 'b' and the second 'c' to 'd'. |
| const char kURLMappings[] = "url-mappings"; |
| -// If set apps downloaded are not deleted. |
| -const char kDontDeleteOnDownload[] = "dont-delete-on-download"; |
| - |
| // Switches valid for the main process (i.e., that the user may pass in). |
| const char* kSwitchArray[] = {kV, |
| kArgsFor, |
| @@ -80,6 +84,7 @@ const char* kSwitchArray[] = {kV, |
| kHelp, |
| kMapOrigin, |
| kOrigin, |
| + kPredictableAppFilenames, |
| kURLMappings}; |
| const std::set<std::string> GetAllSwitches() { |