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