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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 ::switches::kEnableWebGLImageChromium, | 150 ::switches::kEnableWebGLImageChromium, |
151 #if defined(ENABLE_WEBRTC) | 151 #if defined(ENABLE_WEBRTC) |
152 ::switches::kDisableAudioTrackProcessing, | 152 ::switches::kDisableAudioTrackProcessing, |
153 ::switches::kDisableWebRtcHWDecoding, | 153 ::switches::kDisableWebRtcHWDecoding, |
154 ::switches::kDisableWebRtcHWEncoding, | 154 ::switches::kDisableWebRtcHWEncoding, |
155 ::switches::kEnableWebRtcHWVp8Encoding, | 155 ::switches::kEnableWebRtcHWVp8Encoding, |
156 #endif | 156 #endif |
157 ::switches::kDisableVaapiAcceleratedVideoEncode, | 157 ::switches::kDisableVaapiAcceleratedVideoEncode, |
158 #if defined(USE_OZONE) | 158 #if defined(USE_OZONE) |
159 ::switches::kOzonePlatform, | 159 ::switches::kOzonePlatform, |
| 160 ::switches::kOzoneUseSurfaceless, |
160 #endif | 161 #endif |
161 app_list::switches::kDisableSyncAppList, | 162 app_list::switches::kDisableSyncAppList, |
162 app_list::switches::kEnableSyncAppList, | 163 app_list::switches::kEnableSyncAppList, |
163 ash::switches::kAshDefaultWallpaperLarge, | 164 ash::switches::kAshDefaultWallpaperLarge, |
164 ash::switches::kAshDefaultWallpaperSmall, | 165 ash::switches::kAshDefaultWallpaperSmall, |
165 ash::switches::kAshGuestWallpaperLarge, | 166 ash::switches::kAshGuestWallpaperLarge, |
166 ash::switches::kAshGuestWallpaperSmall, | 167 ash::switches::kAshGuestWallpaperSmall, |
167 ash::switches::kAshHostWindowBounds, | 168 ash::switches::kAshHostWindowBounds, |
168 ash::switches::kAshTouchHud, | 169 ash::switches::kAshTouchHud, |
169 ash::switches::kAuraLegacyPowerButton, | 170 ash::switches::kAuraLegacyPowerButton, |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // Relaunch chrome without session manager on dev box. | 371 // Relaunch chrome without session manager on dev box. |
371 ReLaunch(command_line); | 372 ReLaunch(command_line); |
372 return; | 373 return; |
373 } | 374 } |
374 | 375 |
375 // ChromeRestartRequest deletes itself after request sent to session manager. | 376 // ChromeRestartRequest deletes itself after request sent to session manager. |
376 (new ChromeRestartRequest(command_line))->Start(); | 377 (new ChromeRestartRequest(command_line))->Start(); |
377 } | 378 } |
378 | 379 |
379 } // namespace chromeos | 380 } // namespace chromeos |
OLD | NEW |