| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 cc::switches::kShowSurfaceDamageRects, | 209 cc::switches::kShowSurfaceDamageRects, |
| 210 cc::switches::kSlowDownRasterScaleFactor, | 210 cc::switches::kSlowDownRasterScaleFactor, |
| 211 cc::switches::kUIDisablePartialSwap, | 211 cc::switches::kUIDisablePartialSwap, |
| 212 chromeos::switches::kConsumerDeviceManagementUrl, | 212 chromeos::switches::kConsumerDeviceManagementUrl, |
| 213 chromeos::switches::kDbusStub, | 213 chromeos::switches::kDbusStub, |
| 214 chromeos::switches::kDbusUnstubClients, | 214 chromeos::switches::kDbusUnstubClients, |
| 215 chromeos::switches::kDisableLoginAnimations, | 215 chromeos::switches::kDisableLoginAnimations, |
| 216 chromeos::switches::kEnableConsumerManagement, | 216 chromeos::switches::kEnableConsumerManagement, |
| 217 chromeos::switches::kEnterpriseEnableForcedReEnrollment, | 217 chromeos::switches::kEnterpriseEnableForcedReEnrollment, |
| 218 chromeos::switches::kHasChromeOSDiamondKey, | 218 chromeos::switches::kHasChromeOSDiamondKey, |
| 219 chromeos::switches::kHasChromeOSKeyboard, | |
| 220 chromeos::switches::kLoginProfile, | 219 chromeos::switches::kLoginProfile, |
| 221 chromeos::switches::kNaturalScrollDefault, | 220 chromeos::switches::kNaturalScrollDefault, |
| 222 chromeos::switches::kSystemInDevMode, | 221 chromeos::switches::kSystemInDevMode, |
| 223 policy::switches::kDeviceManagementUrl, | 222 policy::switches::kDeviceManagementUrl, |
| 224 wm::switches::kWindowAnimationsDisabled, | 223 wm::switches::kWindowAnimationsDisabled, |
| 225 }; | 224 }; |
| 226 command_line->CopySwitchesFrom(base_command_line, | 225 command_line->CopySwitchesFrom(base_command_line, |
| 227 kForwardSwitches, | 226 kForwardSwitches, |
| 228 arraysize(kForwardSwitches)); | 227 arraysize(kForwardSwitches)); |
| 229 | 228 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 // Relaunch chrome without session manager on dev box. | 382 // Relaunch chrome without session manager on dev box. |
| 384 ReLaunch(command_line); | 383 ReLaunch(command_line); |
| 385 return; | 384 return; |
| 386 } | 385 } |
| 387 | 386 |
| 388 // ChromeRestartRequest deletes itself after request sent to session manager. | 387 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 389 (new ChromeRestartRequest(command_line))->Start(); | 388 (new ChromeRestartRequest(command_line))->Start(); |
| 390 } | 389 } |
| 391 | 390 |
| 392 } // namespace chromeos | 391 } // namespace chromeos |
| OLD | NEW |