Upstream version 8.37.186.0
[platform/framework/web/crosswalk.git] / src / xwalk / extensions / common / xwalk_extension_switches.cc
1 // Copyright (c) 2013 Intel Corporation. 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.
4
5 #include "xwalk/extensions/common/xwalk_extension_switches.h"
6
7 namespace switches {
8
9 // TODO(cmarcelo): Currently we are disabling it by default, once Extension
10 // Process patches land, we'll change this to be "disable-extension-process"
11 // so that it will be enabled by default. Remember to forcely disable it for
12 // Android.
13 const char kXWalkDisableExtensionProcess[] =
14     "disable-extension-process";
15
16 // Used internally to launch an extension process.
17 const char kXWalkExtensionProcess[] = "xwalk-extension-process";
18
19 // Specifies where XWalk will look for external extensions.
20 const char kXWalkExternalExtensionsPath[] = "external-extensions-path";
21
22 // The contents of this flag are prepended to the extension command line.
23 // Useful values might be "valgrind" or "xterm -e gdb --args".
24 const char kXWalkExtensionCmdPrefix[] = "xwalk-extension-cmd-prefix";
25
26 // Disable XWalkExtensionSystem and all extensions
27 const char kXWalkDisableExtensions[] = "disable-xwalk-extensions";
28
29 }  // namespace switches