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