Commit c50b23fb authored by sheu@chromium.org's avatar sheu@chromium.org

Propagate gpu debugging flags in guest mode

Guest logins in ChromeOS cause Chrome to restart itself through dbus.
Some debugging flags aren't propagated through the restart -- these
include:
* --disable-gpu-watchdog
* --no-sandbox
* --gpu-startup-dialog
* --renderer-startup-dialog

Add these to the list of propagated flags.

Change-Id: I977eabe322447174ca7281137838012d042bac6f

BUG=
TEST=


Review URL: http://codereview.chromium.org/10228020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134592 0039d316-1c4b-4281-b951-d872f2087c98
parent e20fa5cd
...@@ -1046,6 +1046,7 @@ std::string LoginUtilsImpl::GetOffTheRecordCommandLine( ...@@ -1046,6 +1046,7 @@ std::string LoginUtilsImpl::GetOffTheRecordCommandLine(
switches::kDefaultDeviceScaleFactor, switches::kDefaultDeviceScaleFactor,
switches::kDisableAccelerated2dCanvas, switches::kDisableAccelerated2dCanvas,
switches::kDisableAcceleratedPlugins, switches::kDisableAcceleratedPlugins,
switches::kDisableGpuWatchdog,
switches::kDisableLoginAnimations, switches::kDisableLoginAnimations,
switches::kDisableSeccompSandbox, switches::kDisableSeccompSandbox,
switches::kDisableThreadedAnimation, switches::kDisableThreadedAnimation,
...@@ -1059,13 +1060,16 @@ std::string LoginUtilsImpl::GetOffTheRecordCommandLine( ...@@ -1059,13 +1060,16 @@ std::string LoginUtilsImpl::GetOffTheRecordCommandLine(
switches::kEnableViewport, switches::kEnableViewport,
switches::kDisableThreadedCompositing, switches::kDisableThreadedCompositing,
switches::kForceCompositingMode, switches::kForceCompositingMode,
switches::kGpuStartupDialog,
switches::kLoginProfile, switches::kLoginProfile,
switches::kScrollPixels, switches::kScrollPixels,
switches::kNoFirstRun, switches::kNoFirstRun,
switches::kNoSandbox,
switches::kPpapiFlashArgs, switches::kPpapiFlashArgs,
switches::kPpapiFlashInProcess, switches::kPpapiFlashInProcess,
switches::kPpapiFlashPath, switches::kPpapiFlashPath,
switches::kPpapiFlashVersion, switches::kPpapiFlashVersion,
switches::kRendererStartupDialog,
switches::kFlingTapSuppressMaxDown, switches::kFlingTapSuppressMaxDown,
switches::kFlingTapSuppressMaxGap, switches::kFlingTapSuppressMaxGap,
switches::kTouchDevices, switches::kTouchDevices,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment