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