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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 ::switches::kEnableTouchEditing, | 115 ::switches::kEnableTouchEditing, |
116 ::switches::kEnableUniversalAcceleratedOverflowScroll, | 116 ::switches::kEnableUniversalAcceleratedOverflowScroll, |
117 ::switches::kEnableViewport, | 117 ::switches::kEnableViewport, |
118 ::switches::kEnableViewportMeta, | 118 ::switches::kEnableViewportMeta, |
119 ::switches::kMainFrameResizesAreOrientationChanges, | 119 ::switches::kMainFrameResizesAreOrientationChanges, |
120 ::switches::kForceDeviceScaleFactor, | 120 ::switches::kForceDeviceScaleFactor, |
121 ::switches::kForceGpuRasterization, | 121 ::switches::kForceGpuRasterization, |
122 ::switches::kGpuStartupDialog, | 122 ::switches::kGpuStartupDialog, |
123 ::switches::kGpuSandboxAllowSysVShm, | 123 ::switches::kGpuSandboxAllowSysVShm, |
124 ::switches::kGpuSandboxFailuresFatal, | 124 ::switches::kGpuSandboxFailuresFatal, |
| 125 ::switches::kGpuSandboxStartAfterInitialization, |
125 ::switches::kMultiProfiles, | 126 ::switches::kMultiProfiles, |
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, |
131 ::switches::kPpapiInProcess, | 132 ::switches::kPpapiInProcess, |
132 ::switches::kRendererStartupDialog, | 133 ::switches::kRendererStartupDialog, |
133 ::switches::kEnableShareGroupAsyncTextureUpload, | 134 ::switches::kEnableShareGroupAsyncTextureUpload, |
134 ::switches::kTabCaptureUpscaleQuality, | 135 ::switches::kTabCaptureUpscaleQuality, |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 // Relaunch chrome without session manager on dev box. | 358 // Relaunch chrome without session manager on dev box. |
358 ReLaunch(command_line); | 359 ReLaunch(command_line); |
359 return; | 360 return; |
360 } | 361 } |
361 | 362 |
362 // ChromeRestartRequest deletes itself after request sent to session manager. | 363 // ChromeRestartRequest deletes itself after request sent to session manager. |
363 (new ChromeRestartRequest(command_line))->Start(); | 364 (new ChromeRestartRequest(command_line))->Start(); |
364 } | 365 } |
365 | 366 |
366 } // namespace chromeos | 367 } // namespace chromeos |
OLD | NEW |