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