| OLD | NEW |
| 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 "chrome/browser/chromeos/login/chrome_restart_request.h" | 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ::switches::kDisableGpuShaderDiskCache, | 82 ::switches::kDisableGpuShaderDiskCache, |
| 83 ::switches::kDisableGpuWatchdog, | 83 ::switches::kDisableGpuWatchdog, |
| 84 ::switches::kDisableGpuCompositing, | 84 ::switches::kDisableGpuCompositing, |
| 85 ::switches::kDisablePrefixedEncryptedMedia, | 85 ::switches::kDisablePrefixedEncryptedMedia, |
| 86 ::switches::kDisablePanelFitting, | 86 ::switches::kDisablePanelFitting, |
| 87 ::switches::kDisableSeccompFilterSandbox, | 87 ::switches::kDisableSeccompFilterSandbox, |
| 88 ::switches::kDisableSetuidSandbox, | 88 ::switches::kDisableSetuidSandbox, |
| 89 ::switches::kDisableThreadedCompositing, | 89 ::switches::kDisableThreadedCompositing, |
| 90 ::switches::kDisableTouchDragDrop, | 90 ::switches::kDisableTouchDragDrop, |
| 91 ::switches::kDisableTouchEditing, | 91 ::switches::kDisableTouchEditing, |
| 92 ::switches::kDisableUniversalAcceleratedOverflowScroll, |
| 92 ::switches::kDisableWebKitMediaSource, | 93 ::switches::kDisableWebKitMediaSource, |
| 93 ::switches::kDisableAcceleratedFixedRootBackground, | 94 ::switches::kDisableAcceleratedFixedRootBackground, |
| 94 ::switches::kEnableAcceleratedFixedRootBackground, | 95 ::switches::kEnableAcceleratedFixedRootBackground, |
| 95 ::switches::kEnableAcceleratedOverflowScroll, | 96 ::switches::kEnableAcceleratedOverflowScroll, |
| 96 ::switches::kEnableBeginFrameScheduling, | 97 ::switches::kEnableBeginFrameScheduling, |
| 97 ::switches::kEnableCompositingForFixedPosition, | 98 ::switches::kEnableCompositingForFixedPosition, |
| 98 ::switches::kEnableDeadlineScheduling, | 99 ::switches::kEnableDeadlineScheduling, |
| 99 ::switches::kEnableDelegatedRenderer, | 100 ::switches::kEnableDelegatedRenderer, |
| 100 ::switches::kEnableEncryptedMedia, | 101 ::switches::kEnableEncryptedMedia, |
| 101 ::switches::kEnableGestureTapHighlight, | 102 ::switches::kEnableGestureTapHighlight, |
| 102 ::switches::kDisableGestureTapHighlight, | 103 ::switches::kDisableGestureTapHighlight, |
| 103 ::switches::kDisableGpuSandbox, | 104 ::switches::kDisableGpuSandbox, |
| 104 ::switches::kEnableLogging, | 105 ::switches::kEnableLogging, |
| 105 ::switches::kEnablePinch, | 106 ::switches::kEnablePinch, |
| 106 ::switches::kEnableThreadedCompositing, | 107 ::switches::kEnableThreadedCompositing, |
| 107 ::switches::kEnableTouchDragDrop, | 108 ::switches::kEnableTouchDragDrop, |
| 108 ::switches::kEnableTouchEditing, | 109 ::switches::kEnableTouchEditing, |
| 110 ::switches::kEnableUniversalAcceleratedOverflowScroll, |
| 109 ::switches::kEnableViewport, | 111 ::switches::kEnableViewport, |
| 110 ::switches::kForceDeviceScaleFactor, | 112 ::switches::kForceDeviceScaleFactor, |
| 111 ::switches::kGpuStartupDialog, | 113 ::switches::kGpuStartupDialog, |
| 112 ::switches::kGpuSandboxAllowSysVShm, | 114 ::switches::kGpuSandboxAllowSysVShm, |
| 113 ::switches::kMultiProfiles, | 115 ::switches::kMultiProfiles, |
| 114 ::switches::kNoSandbox, | 116 ::switches::kNoSandbox, |
| 115 ::switches::kPpapiFlashArgs, | 117 ::switches::kPpapiFlashArgs, |
| 116 ::switches::kPpapiFlashInProcess, | 118 ::switches::kPpapiFlashInProcess, |
| 117 ::switches::kPpapiFlashPath, | 119 ::switches::kPpapiFlashPath, |
| 118 ::switches::kPpapiFlashVersion, | 120 ::switches::kPpapiFlashVersion, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 // Relaunch chrome without session manager on dev box. | 364 // Relaunch chrome without session manager on dev box. |
| 363 ReLaunch(command_line); | 365 ReLaunch(command_line); |
| 364 return; | 366 return; |
| 365 } | 367 } |
| 366 | 368 |
| 367 // ChromeRestartRequest deletes itself after request sent to session manager. | 369 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 368 (new ChromeRestartRequest(command_line))->Start(); | 370 (new ChromeRestartRequest(command_line))->Start(); |
| 369 } | 371 } |
| 370 | 372 |
| 371 } // namespace chromeos | 373 } // namespace chromeos |
| OLD | NEW |