| 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/runner/switches.h" | 5 #include "mojo/runner/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 22 matching lines...) Expand all Loading... |
| 33 const char kHelp[] = "help"; | 33 const char kHelp[] = "help"; |
| 34 | 34 |
| 35 // Specify origin to map to base url. See url_resolver.cc for details. | 35 // Specify origin to map to base url. See url_resolver.cc for details. |
| 36 // Can be used multiple times. | 36 // Can be used multiple times. |
| 37 const char kMapOrigin[] = "map-origin"; | 37 const char kMapOrigin[] = "map-origin"; |
| 38 | 38 |
| 39 // Map mojo: URLs to a shared library of similar name at this origin. See | 39 // Map mojo: URLs to a shared library of similar name at this origin. See |
| 40 // url_resolver.cc for details. | 40 // url_resolver.cc for details. |
| 41 const char kOrigin[] = "origin"; | 41 const char kOrigin[] = "origin"; |
| 42 | 42 |
| 43 // Enables remote debug over HTTP on the specified port. | |
| 44 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | |
| 45 | |
| 46 // Starts tracing when the shell starts up, saving a trace file on disk after 5 | 43 // Starts tracing when the shell starts up, saving a trace file on disk after 5 |
| 47 // seconds or when the shell exits. | 44 // seconds or when the shell exits. |
| 48 const char kTraceStartup[] = "trace-startup"; | 45 const char kTraceStartup[] = "trace-startup"; |
| 49 | 46 |
| 50 // Specifies a set of mappings to apply when resolving urls. The value is a set | 47 // Specifies a set of mappings to apply when resolving urls. The value is a set |
| 51 // of ',' separated mappings, where each mapping consists of a pair of urls | 48 // of ',' separated mappings, where each mapping consists of a pair of urls |
| 52 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, | 49 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, |
| 53 // the first maps 'a' to 'b' and the second 'c' to 'd'. | 50 // the first maps 'a' to 'b' and the second 'c' to 'd'. |
| 54 const char kURLMappings[] = "url-mappings"; | 51 const char kURLMappings[] = "url-mappings"; |
| 55 | 52 |
| 56 } // namespace switches | 53 } // namespace switches |
| OLD | NEW |