| 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" | |
| 8 | |
| 9 namespace switches { | 7 namespace switches { |
| 10 | 8 |
| 11 // Used internally by the main process to indicate that a new process should be | 9 // Used internally by the main process to indicate that a new process should be |
| 12 // a child process. Takes the absolute path to the mojo application to load as | 10 // a child process. Takes the absolute path to the mojo application to load as |
| 13 // an argument. Not for user use. | 11 // an argument. Not for user use. |
| 14 const char kChildProcess[] = "child-process"; | 12 const char kChildProcess[] = "child-process"; |
| 15 | 13 |
| 16 // Comma separated list like: | 14 // Comma separated list like: |
| 17 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo | 15 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo |
| 18 const char kContentHandlers[] = "content-handlers"; | 16 const char kContentHandlers[] = "content-handlers"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 50 |
| 53 // When this is set, we create a temporary user data dir for the process, and | 51 // When this is set, we create a temporary user data dir for the process, and |
| 54 // add a flag so kUserDataDir points to it. | 52 // add a flag so kUserDataDir points to it. |
| 55 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir"; | 53 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir"; |
| 56 | 54 |
| 57 // Specifies the user data directory. This is the one directory which stores | 55 // Specifies the user data directory. This is the one directory which stores |
| 58 // all persistent data. | 56 // all persistent data. |
| 59 const char kUserDataDir[] = "user-data-dir"; | 57 const char kUserDataDir[] = "user-data-dir"; |
| 60 | 58 |
| 61 } // namespace switches | 59 } // namespace switches |
| OLD | NEW |