Chromium Code Reviews| 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 // When this is set, we create a temporary user data dir for the process, and | |
| 44 // add a flag so kUserDataDir points to it. | |
| 45 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir"; | |
|
msw
2015/06/24 23:00:35
nit: abc ordering
| |
| 46 | |
| 43 // Starts tracing when the shell starts up, saving a trace file on disk after 5 | 47 // Starts tracing when the shell starts up, saving a trace file on disk after 5 |
| 44 // seconds or when the shell exits. | 48 // seconds or when the shell exits. |
| 45 const char kTraceStartup[] = "trace-startup"; | 49 const char kTraceStartup[] = "trace-startup"; |
| 46 | 50 |
| 47 // Specifies a set of mappings to apply when resolving urls. The value is a set | 51 // Specifies a set of mappings to apply when resolving urls. The value is a set |
| 48 // of ',' separated mappings, where each mapping consists of a pair of urls | 52 // of ',' separated mappings, where each mapping consists of a pair of urls |
| 49 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, | 53 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, |
| 50 // the first maps 'a' to 'b' and the second 'c' to 'd'. | 54 // the first maps 'a' to 'b' and the second 'c' to 'd'. |
| 51 const char kURLMappings[] = "url-mappings"; | 55 const char kURLMappings[] = "url-mappings"; |
| 52 | 56 |
| 57 // Specifies the user data directory. This is the one directory which stores | |
| 58 // all persistent data. | |
| 59 const char kUserDataDir[] = "user-data-dir"; | |
| 60 | |
| 53 } // namespace switches | 61 } // namespace switches |
| OLD | NEW |