| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 ::switches::kUserDataDir, | 147 ::switches::kUserDataDir, |
| 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 ::switches::kEnableWebRtcHWH264Encoding, |
| 157 #endif | 158 #endif |
| 158 ::switches::kDisableVaapiAcceleratedVideoEncode, | 159 ::switches::kDisableVaapiAcceleratedVideoEncode, |
| 159 #if defined(USE_OZONE) | 160 #if defined(USE_OZONE) |
| 160 ::switches::kOzonePlatform, | 161 ::switches::kOzonePlatform, |
| 161 ::switches::kOzoneUseSurfaceless, | 162 ::switches::kOzoneUseSurfaceless, |
| 162 #endif | 163 #endif |
| 163 app_list::switches::kDisableSyncAppList, | 164 app_list::switches::kDisableSyncAppList, |
| 164 app_list::switches::kEnableSyncAppList, | 165 app_list::switches::kEnableSyncAppList, |
| 165 ash::switches::kAshDefaultWallpaperLarge, | 166 ash::switches::kAshDefaultWallpaperLarge, |
| 166 ash::switches::kAshDefaultWallpaperSmall, | 167 ash::switches::kAshDefaultWallpaperSmall, |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 // Relaunch chrome without session manager on dev box. | 373 // Relaunch chrome without session manager on dev box. |
| 373 ReLaunch(command_line); | 374 ReLaunch(command_line); |
| 374 return; | 375 return; |
| 375 } | 376 } |
| 376 | 377 |
| 377 // ChromeRestartRequest deletes itself after request sent to session manager. | 378 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 378 (new ChromeRestartRequest(command_line))->Start(); | 379 (new ChromeRestartRequest(command_line))->Start(); |
| 379 } | 380 } |
| 380 | 381 |
| 381 } // namespace chromeos | 382 } // namespace chromeos |
| OLD | NEW |