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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 #if defined(USE_CRAS) | 151 #if defined(USE_CRAS) |
152 ::switches::kUseCras, | 152 ::switches::kUseCras, |
153 #endif | 153 #endif |
154 ::switches::kUseGL, | 154 ::switches::kUseGL, |
155 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, | 155 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, |
156 ::switches::kUserDataDir, | 156 ::switches::kUserDataDir, |
157 ::switches::kV, | 157 ::switches::kV, |
158 ::switches::kVModule, | 158 ::switches::kVModule, |
159 ::switches::kEnableWebGLDraftExtensions, | 159 ::switches::kEnableWebGLDraftExtensions, |
160 ::switches::kEnableWebGLImageChromium, | 160 ::switches::kEnableWebGLImageChromium, |
161 ::switches::kEnableWebVR, | |
162 #if defined(ENABLE_WEBRTC) | 161 #if defined(ENABLE_WEBRTC) |
163 ::switches::kDisableWebRtcHWDecoding, | 162 ::switches::kDisableWebRtcHWDecoding, |
164 ::switches::kDisableWebRtcHWEncoding, | 163 ::switches::kDisableWebRtcHWEncoding, |
165 ::switches::kEnableWebRtcHWH264Encoding, | 164 ::switches::kEnableWebRtcHWH264Encoding, |
166 #endif | 165 #endif |
167 ::switches::kDisableVaapiAcceleratedVideoEncode, | 166 ::switches::kDisableVaapiAcceleratedVideoEncode, |
168 #if defined(USE_OZONE) | 167 #if defined(USE_OZONE) |
169 ::switches::kOzoneInitialDisplayBounds, | 168 ::switches::kOzoneInitialDisplayBounds, |
170 ::switches::kOzoneInitialDisplayPhysicalSizeMm, | 169 ::switches::kOzoneInitialDisplayPhysicalSizeMm, |
171 ::switches::kOzonePlatform, | 170 ::switches::kOzonePlatform, |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // Relaunch chrome without session manager on dev box. | 377 // Relaunch chrome without session manager on dev box. |
379 ReLaunch(command_line); | 378 ReLaunch(command_line); |
380 return; | 379 return; |
381 } | 380 } |
382 | 381 |
383 // ChromeRestartRequest deletes itself after request sent to session manager. | 382 // ChromeRestartRequest deletes itself after request sent to session manager. |
384 (new ChromeRestartRequest(command_line))->Start(); | 383 (new ChromeRestartRequest(command_line))->Start(); |
385 } | 384 } |
386 | 385 |
387 } // namespace chromeos | 386 } // namespace chromeos |
OLD | NEW |