| 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/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
| 10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 cc::switches::kUIEnableLayerLists, | 207 cc::switches::kUIEnableLayerLists, |
| 208 cc::switches::kUIShowFPSCounter, | 208 cc::switches::kUIShowFPSCounter, |
| 209 chromeos::switches::kConsumerDeviceManagementUrl, | 209 chromeos::switches::kConsumerDeviceManagementUrl, |
| 210 chromeos::switches::kDbusStub, | 210 chromeos::switches::kDbusStub, |
| 211 chromeos::switches::kDbusUnstubClients, | 211 chromeos::switches::kDbusUnstubClients, |
| 212 chromeos::switches::kDisableArcDataWipe, | 212 chromeos::switches::kDisableArcDataWipe, |
| 213 chromeos::switches::kDisableArcOptInVerification, | 213 chromeos::switches::kDisableArcOptInVerification, |
| 214 chromeos::switches::kDisableLoginAnimations, | 214 chromeos::switches::kDisableLoginAnimations, |
| 215 chromeos::switches::kEnableArc, | 215 chromeos::switches::kEnableArc, |
| 216 chromeos::switches::kEnableConsumerManagement, | 216 chromeos::switches::kEnableConsumerManagement, |
| 217 chromeos::switches::kEnableQuickUnlockPin, |
| 217 chromeos::switches::kEnterpriseDisableArc, | 218 chromeos::switches::kEnterpriseDisableArc, |
| 218 chromeos::switches::kEnterpriseEnableForcedReEnrollment, | 219 chromeos::switches::kEnterpriseEnableForcedReEnrollment, |
| 219 chromeos::switches::kHasChromeOSDiamondKey, | 220 chromeos::switches::kHasChromeOSDiamondKey, |
| 220 chromeos::switches::kLoginProfile, | 221 chromeos::switches::kLoginProfile, |
| 221 chromeos::switches::kNaturalScrollDefault, | 222 chromeos::switches::kNaturalScrollDefault, |
| 222 chromeos::switches::kSystemInDevMode, | 223 chromeos::switches::kSystemInDevMode, |
| 223 policy::switches::kDeviceManagementUrl, | 224 policy::switches::kDeviceManagementUrl, |
| 224 wm::switches::kWindowAnimationsDisabled, | 225 wm::switches::kWindowAnimationsDisabled, |
| 225 }; | 226 }; |
| 226 command_line->CopySwitchesFrom(base_command_line, | 227 command_line->CopySwitchesFrom(base_command_line, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 // Relaunch chrome without session manager on dev box. | 361 // Relaunch chrome without session manager on dev box. |
| 361 ReLaunch(command_line); | 362 ReLaunch(command_line); |
| 362 return; | 363 return; |
| 363 } | 364 } |
| 364 | 365 |
| 365 // ChromeRestartRequest deletes itself after request sent to session manager. | 366 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 366 (new ChromeRestartRequest(command_line.argv()))->Start(); | 367 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 367 } | 368 } |
| 368 | 369 |
| 369 } // namespace chromeos | 370 } // namespace chromeos |
| OLD | NEW |