OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "mojo/shell/switches.h" | 5 #include "mojo/shell/switches.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // url_resolver.cc for details. | 44 // url_resolver.cc for details. |
45 const char kOrigin[] = "origin"; | 45 const char kOrigin[] = "origin"; |
46 | 46 |
47 // If set apps downloaded are saved in with a predictable filename, to help | 47 // If set apps downloaded are saved in with a predictable filename, to help |
48 // remote debugging: when gdb is used through gdbserver, it needs to be able to | 48 // remote debugging: when gdb is used through gdbserver, it needs to be able to |
49 // find locally any loaded library. For this, gdb use the filename of the | 49 // find locally any loaded library. For this, gdb use the filename of the |
50 // library. When using this flag, the application are named with the sha256 of | 50 // library. When using this flag, the application are named with the sha256 of |
51 // their content. | 51 // their content. |
52 const char kPredictableAppFilenames[] = "predictable-app-filenames"; | 52 const char kPredictableAppFilenames[] = "predictable-app-filenames"; |
53 | 53 |
| 54 // If specified, test application(s) listed on the command line will be run, |
| 55 // instead of the default application, mojo:window_manager. |
| 56 const char kTestApp[] = "test-app"; |
| 57 |
54 // Starts tracing when the shell starts up, saving a trace file on disk after 5 | 58 // Starts tracing when the shell starts up, saving a trace file on disk after 5 |
55 // seconds or when the shell exits. | 59 // seconds or when the shell exits. |
56 const char kTraceStartup[] = "trace-startup"; | 60 const char kTraceStartup[] = "trace-startup"; |
57 | 61 |
| 62 // Specifies a set of mappings to apply when resolving urls. The value is a set |
| 63 // of ',' separated mappings, where each mapping consists of a pair of urls |
| 64 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, |
| 65 // the first maps 'a' to 'b' and the second 'c' to 'd'. |
| 66 const char kURLMappings[] = "url-mappings"; |
| 67 |
58 } // namespace switches | 68 } // namespace switches |
OLD | NEW |