| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 ::switches::kEnablePluginPlaceholderShadowDom, | 112 ::switches::kEnablePluginPlaceholderShadowDom, |
| 113 ::switches::kEnableSlimmingPaint, | 113 ::switches::kEnableSlimmingPaint, |
| 114 ::switches::kEnableTouchDragDrop, | 114 ::switches::kEnableTouchDragDrop, |
| 115 ::switches::kEnableTouchEditing, | 115 ::switches::kEnableTouchEditing, |
| 116 ::switches::kEnableViewport, | 116 ::switches::kEnableViewport, |
| 117 ::switches::kEnableViewportMeta, | 117 ::switches::kEnableViewportMeta, |
| 118 ::switches::kEnableZeroCopy, | 118 ::switches::kEnableZeroCopy, |
| 119 ::switches::kMainFrameResizesAreOrientationChanges, | 119 ::switches::kMainFrameResizesAreOrientationChanges, |
| 120 ::switches::kForceDeviceScaleFactor, | 120 ::switches::kForceDeviceScaleFactor, |
| 121 ::switches::kForceGpuRasterization, | 121 ::switches::kForceGpuRasterization, |
| 122 ::switches::kGpuRasterizationMSAASampleCount, |
| 122 ::switches::kGpuStartupDialog, | 123 ::switches::kGpuStartupDialog, |
| 123 ::switches::kGpuSandboxAllowSysVShm, | 124 ::switches::kGpuSandboxAllowSysVShm, |
| 124 ::switches::kGpuSandboxFailuresFatal, | 125 ::switches::kGpuSandboxFailuresFatal, |
| 125 ::switches::kGpuSandboxStartEarly, | 126 ::switches::kGpuSandboxStartEarly, |
| 126 ::switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, | 127 ::switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, |
| 127 ::switches::kNoSandbox, | 128 ::switches::kNoSandbox, |
| 128 ::switches::kNumRasterThreads, | 129 ::switches::kNumRasterThreads, |
| 129 ::switches::kPpapiFlashArgs, | 130 ::switches::kPpapiFlashArgs, |
| 130 ::switches::kPpapiFlashPath, | 131 ::switches::kPpapiFlashPath, |
| 131 ::switches::kPpapiFlashVersion, | 132 ::switches::kPpapiFlashVersion, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // Relaunch chrome without session manager on dev box. | 376 // Relaunch chrome without session manager on dev box. |
| 376 ReLaunch(command_line); | 377 ReLaunch(command_line); |
| 377 return; | 378 return; |
| 378 } | 379 } |
| 379 | 380 |
| 380 // ChromeRestartRequest deletes itself after request sent to session manager. | 381 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 381 (new ChromeRestartRequest(command_line))->Start(); | 382 (new ChromeRestartRequest(command_line))->Start(); |
| 382 } | 383 } |
| 383 | 384 |
| 384 } // namespace chromeos | 385 } // namespace chromeos |
| OLD | NEW |