| 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::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::kEnableVaapiAcceleratedVideoEncode, |
| 159 #if defined(USE_OZONE) | 159 #if defined(USE_OZONE) |
| 160 ::switches::kOzonePlatform, | 160 ::switches::kOzonePlatform, |
| 161 ::switches::kOzoneUseSurfaceless, |
| 161 #endif | 162 #endif |
| 162 app_list::switches::kDisableSyncAppList, | 163 app_list::switches::kDisableSyncAppList, |
| 163 app_list::switches::kEnableSyncAppList, | 164 app_list::switches::kEnableSyncAppList, |
| 164 ash::switches::kAshDefaultWallpaperLarge, | 165 ash::switches::kAshDefaultWallpaperLarge, |
| 165 ash::switches::kAshDefaultWallpaperSmall, | 166 ash::switches::kAshDefaultWallpaperSmall, |
| 166 ash::switches::kAshGuestWallpaperLarge, | 167 ash::switches::kAshGuestWallpaperLarge, |
| 167 ash::switches::kAshGuestWallpaperSmall, | 168 ash::switches::kAshGuestWallpaperSmall, |
| 168 ash::switches::kAshHostWindowBounds, | 169 ash::switches::kAshHostWindowBounds, |
| 169 ash::switches::kAshTouchHud, | 170 ash::switches::kAshTouchHud, |
| 170 ash::switches::kAuraLegacyPowerButton, | 171 ash::switches::kAuraLegacyPowerButton, |
| (...skipping 199 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 |