| 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 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // Specify configuration arguments for a Mojo application URL. For example: | 9 // Specify configuration arguments for a Mojo application URL. For example: |
| 10 // --args-for='mojo://mojo_wget http://www.google.com' | 10 // --args-for='mojo://mojo_wget http://www.google.com' |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 const char kHelp[] = "help"; | 36 const char kHelp[] = "help"; |
| 37 | 37 |
| 38 // Map mojo: URLs to a shared library of similar name at this origin. See | 38 // Map mojo: URLs to a shared library of similar name at this origin. See |
| 39 // mojo_url_resolver.cc for details. | 39 // mojo_url_resolver.cc for details. |
| 40 const char kOrigin[] = "origin"; | 40 const char kOrigin[] = "origin"; |
| 41 | 41 |
| 42 // Enables the mojo spy, which acts as a man-in-the-middle inspector for | 42 // Enables the mojo spy, which acts as a man-in-the-middle inspector for |
| 43 // message pipes and other activities. This is work in progress. | 43 // message pipes and other activities. This is work in progress. |
| 44 const char kSpy[] = "spy"; | 44 const char kSpy[] = "spy"; |
| 45 | 45 |
| 46 // Specifies a set of mappings to apply when resolving urls. The value is set of |
| 47 // ',' separated mappings, where each mapping consists of a pair of urls giving |
| 48 // the to/from url to map. For example, 'a=b,c=d' contains two mappings, the |
| 49 // first maps 'a' to 'b' and the second 'c' to 'd'. |
| 50 const char kURLMappings[] = "url-mappings"; |
| 51 |
| 46 } // namespace switches | 52 } // namespace switches |
| OLD | NEW |