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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 ::switches::kEnableViewport, | 122 ::switches::kEnableViewport, |
123 ::switches::kEnableViewportMeta, | 123 ::switches::kEnableViewportMeta, |
124 ::switches::kEnableZeroCopy, | 124 ::switches::kEnableZeroCopy, |
125 ::switches::kMainFrameResizesAreOrientationChanges, | 125 ::switches::kMainFrameResizesAreOrientationChanges, |
126 ::switches::kForceDeviceScaleFactor, | 126 ::switches::kForceDeviceScaleFactor, |
127 ::switches::kForceGpuRasterization, | 127 ::switches::kForceGpuRasterization, |
128 ::switches::kGpuStartupDialog, | 128 ::switches::kGpuStartupDialog, |
129 ::switches::kGpuSandboxAllowSysVShm, | 129 ::switches::kGpuSandboxAllowSysVShm, |
130 ::switches::kGpuSandboxFailuresFatal, | 130 ::switches::kGpuSandboxFailuresFatal, |
131 ::switches::kGpuSandboxStartAfterInitialization, | 131 ::switches::kGpuSandboxStartAfterInitialization, |
| 132 ::switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, |
132 ::switches::kNoSandbox, | 133 ::switches::kNoSandbox, |
133 ::switches::kNumRasterThreads, | 134 ::switches::kNumRasterThreads, |
134 ::switches::kPpapiFlashArgs, | 135 ::switches::kPpapiFlashArgs, |
135 ::switches::kPpapiFlashPath, | 136 ::switches::kPpapiFlashPath, |
136 ::switches::kPpapiFlashVersion, | 137 ::switches::kPpapiFlashVersion, |
137 ::switches::kPpapiInProcess, | 138 ::switches::kPpapiInProcess, |
138 ::switches::kRendererStartupDialog, | 139 ::switches::kRendererStartupDialog, |
139 ::switches::kEnableShareGroupAsyncTextureUpload, | 140 ::switches::kEnableShareGroupAsyncTextureUpload, |
140 ::switches::kTabCaptureUpscaleQuality, | 141 ::switches::kTabCaptureUpscaleQuality, |
141 ::switches::kTabCaptureDownscaleQuality, | 142 ::switches::kTabCaptureDownscaleQuality, |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 378 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 379 ReLaunch(command_line); |
379 return; | 380 return; |
380 } | 381 } |
381 | 382 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 383 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 384 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 385 } |
385 | 386 |
386 } // namespace chromeos | 387 } // namespace chromeos |
OLD | NEW |