| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 ::switches::kDisableWebRtcHWDecoding, | 163 ::switches::kDisableWebRtcHWDecoding, |
| 164 ::switches::kDisableWebRtcHWEncoding, | 164 ::switches::kDisableWebRtcHWEncoding, |
| 165 ::switches::kEnableWebRtcHWH264Encoding, | 165 ::switches::kEnableWebRtcHWH264Encoding, |
| 166 #endif | 166 #endif |
| 167 ::switches::kDisableVaapiAcceleratedVideoEncode, | 167 ::switches::kDisableVaapiAcceleratedVideoEncode, |
| 168 #if defined(USE_OZONE) | 168 #if defined(USE_OZONE) |
| 169 ::switches::kOzoneInitialDisplayBounds, | 169 ::switches::kOzoneInitialDisplayBounds, |
| 170 ::switches::kOzoneInitialDisplayPhysicalSizeMm, | 170 ::switches::kOzoneInitialDisplayPhysicalSizeMm, |
| 171 ::switches::kOzonePlatform, | 171 ::switches::kOzonePlatform, |
| 172 ::switches::kOzoneUseSurfaceless, | 172 ::switches::kOzoneUseSurfaceless, |
| 173 ::switches::kOzoneUseIntelDrm, |
| 173 #endif | 174 #endif |
| 174 app_list::switches::kDisableSyncAppList, | 175 app_list::switches::kDisableSyncAppList, |
| 175 app_list::switches::kEnableCenteredAppList, | 176 app_list::switches::kEnableCenteredAppList, |
| 176 app_list::switches::kEnableSyncAppList, | 177 app_list::switches::kEnableSyncAppList, |
| 177 ash::switches::kAshEnablePowerButtonQuickLock, | 178 ash::switches::kAshEnablePowerButtonQuickLock, |
| 178 ash::switches::kAshHostWindowBounds, | 179 ash::switches::kAshHostWindowBounds, |
| 179 ash::switches::kAshTouchHud, | 180 ash::switches::kAshTouchHud, |
| 180 ash::switches::kAuraLegacyPowerButton, | 181 ash::switches::kAuraLegacyPowerButton, |
| 181 chromeos::switches::kDefaultWallpaperLarge, | 182 chromeos::switches::kDefaultWallpaperLarge, |
| 182 chromeos::switches::kDefaultWallpaperSmall, | 183 chromeos::switches::kDefaultWallpaperSmall, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // Relaunch chrome without session manager on dev box. | 380 // Relaunch chrome without session manager on dev box. |
| 380 ReLaunch(command_line); | 381 ReLaunch(command_line); |
| 381 return; | 382 return; |
| 382 } | 383 } |
| 383 | 384 |
| 384 // ChromeRestartRequest deletes itself after request sent to session manager. | 385 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 385 (new ChromeRestartRequest(command_line))->Start(); | 386 (new ChromeRestartRequest(command_line))->Start(); |
| 386 } | 387 } |
| 387 | 388 |
| 388 } // namespace chromeos | 389 } // namespace chromeos |
| OLD | NEW |