Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / extensions / common / feature_switch.cc
index 4ff7137..65e1456 100644 (file)
@@ -17,37 +17,29 @@ namespace {
 class CommonSwitches {
  public:
   CommonSwitches()
-      : easy_off_store_install(
-            NULL,
-            FeatureSwitch::DEFAULT_DISABLED),
-        force_dev_mode_highlighting(
-            switches::kForceDevModeHighlighting,
-            FeatureSwitch::DEFAULT_DISABLED),
-        prompt_for_external_extensions(
-            NULL,
+      : easy_off_store_install(NULL, FeatureSwitch::DEFAULT_DISABLED),
+        force_dev_mode_highlighting(switches::kForceDevModeHighlighting,
+                                    FeatureSwitch::DEFAULT_DISABLED),
+        prompt_for_external_extensions(NULL,
 #if defined(OS_WIN)
-            FeatureSwitch::DEFAULT_ENABLED),
+                                       FeatureSwitch::DEFAULT_ENABLED),
 #else
-            FeatureSwitch::DEFAULT_DISABLED),
+                                       FeatureSwitch::DEFAULT_DISABLED),
 #endif
-        error_console(
-            switches::kErrorConsole,
-            FeatureSwitch::DEFAULT_DISABLED),
-        enable_override_bookmarks_ui(
-            switches::kEnableOverrideBookmarksUI,
-            FeatureSwitch::DEFAULT_DISABLED),
-        extension_action_redesign(
-            switches::kExtensionActionRedesign,
-            FeatureSwitch::DEFAULT_DISABLED),
+        error_console(switches::kErrorConsole, FeatureSwitch::DEFAULT_DISABLED),
+        enable_override_bookmarks_ui(switches::kEnableOverrideBookmarksUI,
+                                     FeatureSwitch::DEFAULT_DISABLED),
+        extension_action_redesign(switches::kExtensionActionRedesign,
+                                  FeatureSwitch::DEFAULT_DISABLED),
         scripts_require_action(switches::kScriptsRequireAction,
                                FeatureSwitch::DEFAULT_DISABLED),
-        embedded_extension_options(
-            switches::kEmbeddedExtensionOptions,
-            FeatureSwitch::DEFAULT_DISABLED),
-        app_view(switches::kAppView,
-                 FeatureSwitch::DEFAULT_DISABLED),
+        embedded_extension_options(switches::kEmbeddedExtensionOptions,
+                                   FeatureSwitch::DEFAULT_DISABLED),
         mime_handler_view(switches::kMimeHandlerView,
-                          FeatureSwitch::DEFAULT_DISABLED) {}
+                          FeatureSwitch::DEFAULT_DISABLED),
+        trace_app_source(switches::kTraceAppSource,
+                         FeatureSwitch::DEFAULT_DISABLED) {
+  }
 
   // Enables extensions to be easily installed from sites other than the web
   // store.
@@ -64,8 +56,8 @@ class CommonSwitches {
   FeatureSwitch extension_action_redesign;
   FeatureSwitch scripts_require_action;
   FeatureSwitch embedded_extension_options;
-  FeatureSwitch app_view;
   FeatureSwitch mime_handler_view;
+  FeatureSwitch trace_app_source;
 };
 
 base::LazyInstance<CommonSwitches> g_common_switches =
@@ -97,12 +89,12 @@ FeatureSwitch* FeatureSwitch::scripts_require_action() {
 FeatureSwitch* FeatureSwitch::embedded_extension_options() {
   return &g_common_switches.Get().embedded_extension_options;
 }
-FeatureSwitch* FeatureSwitch::app_view() {
-  return &g_common_switches.Get().app_view;
-}
 FeatureSwitch* FeatureSwitch::mime_handler_view() {
   return &g_common_switches.Get().mime_handler_view;
 }
+FeatureSwitch* FeatureSwitch::trace_app_source() {
+  return &g_common_switches.Get().trace_app_source;
+}
 
 FeatureSwitch::ScopedOverride::ScopedOverride(FeatureSwitch* feature,
                                               bool override_value)