Roll src/third_party/WebKit fe3d0ed:840e60d (svn 202350:202351)
[chromium-blink-merge.git] / mojo / shell / switches.cc
blobfafe057640e6c389a49b04ca1ad54cd3fa1e20e7
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
3 // found in the LICENSE file.
5 #include "mojo/shell/switches.h"
7 #include "base/basictypes.h"
9 namespace switches {
11 // If set apps downloaded are not deleted.
12 const char kDontDeleteOnDownload[] = "dont-delete-on-download";
14 // Load apps in separate processes.
15 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe
16 // change it to "single-process") when it works.
17 const char kEnableMultiprocess[] = "enable-multiprocess";
19 // Disables the sandbox for debugging. (Why the Mojo prefix on the constant?
20 // Because otherwise we conflict with content.)
21 const char kMojoNoSandbox[] = "no-sandbox";
23 // If set apps downloaded are saved in with a predictable filename, to help
24 // remote debugging: when gdb is used through gdbserver, it needs to be able to
25 // find locally any loaded library. For this, gdb use the filename of the
26 // library. When using this flag, the application are named with the sha256 of
27 // their content.
28 const char kPredictableAppFilenames[] = "predictable-app-filenames";
30 // Pull apps via component updater, rather than using default local resolution
31 // to find them.
32 const char kUseUpdater[] = "use-updater";
34 } // namespace switches