Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: mojo/shell/switches.cc

Issue 1070463003: Initialize command line arguments for Mojo apptests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restoring url-mappings and specifying test apps on the commandline. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/shell/switches.h ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « mojo/shell/switches.h ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698