| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 cc::switches::kShowCompositedLayerBorders, | 202 cc::switches::kShowCompositedLayerBorders, |
| 203 cc::switches::kShowFPSCounter, | 203 cc::switches::kShowFPSCounter, |
| 204 cc::switches::kShowLayerAnimationBounds, | 204 cc::switches::kShowLayerAnimationBounds, |
| 205 cc::switches::kShowPropertyChangedRects, | 205 cc::switches::kShowPropertyChangedRects, |
| 206 cc::switches::kShowReplicaScreenSpaceRects, | 206 cc::switches::kShowReplicaScreenSpaceRects, |
| 207 cc::switches::kShowScreenSpaceRects, | 207 cc::switches::kShowScreenSpaceRects, |
| 208 cc::switches::kShowSurfaceDamageRects, | 208 cc::switches::kShowSurfaceDamageRects, |
| 209 cc::switches::kSlowDownRasterScaleFactor, | 209 cc::switches::kSlowDownRasterScaleFactor, |
| 210 cc::switches::kUIEnableLayerLists, | 210 cc::switches::kUIEnableLayerLists, |
| 211 cc::switches::kUIShowFPSCounter, | 211 cc::switches::kUIShowFPSCounter, |
| 212 chromeos::switches::kConsumerDeviceManagementUrl, | |
| 213 chromeos::switches::kDbusStub, | 212 chromeos::switches::kDbusStub, |
| 214 chromeos::switches::kDbusUnstubClients, | 213 chromeos::switches::kDbusUnstubClients, |
| 215 chromeos::switches::kDisableArcDataWipe, | 214 chromeos::switches::kDisableArcDataWipe, |
| 216 chromeos::switches::kDisableArcOptInVerification, | 215 chromeos::switches::kDisableArcOptInVerification, |
| 217 chromeos::switches::kDisableLoginAnimations, | 216 chromeos::switches::kDisableLoginAnimations, |
| 218 chromeos::switches::kEnableArc, | 217 chromeos::switches::kEnableArc, |
| 219 chromeos::switches::kEnableConsumerManagement, | |
| 220 chromeos::switches::kEnterpriseDisableArc, | 218 chromeos::switches::kEnterpriseDisableArc, |
| 221 chromeos::switches::kEnterpriseEnableForcedReEnrollment, | 219 chromeos::switches::kEnterpriseEnableForcedReEnrollment, |
| 222 chromeos::switches::kHasChromeOSDiamondKey, | 220 chromeos::switches::kHasChromeOSDiamondKey, |
| 223 chromeos::switches::kLoginProfile, | 221 chromeos::switches::kLoginProfile, |
| 224 chromeos::switches::kNaturalScrollDefault, | 222 chromeos::switches::kNaturalScrollDefault, |
| 225 chromeos::switches::kSystemInDevMode, | 223 chromeos::switches::kSystemInDevMode, |
| 226 policy::switches::kDeviceManagementUrl, | 224 policy::switches::kDeviceManagementUrl, |
| 227 wm::switches::kWindowAnimationsDisabled, | 225 wm::switches::kWindowAnimationsDisabled, |
| 228 }; | 226 }; |
| 229 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... |
| 363 // Relaunch chrome without session manager on dev box. | 361 // Relaunch chrome without session manager on dev box. |
| 364 ReLaunch(command_line); | 362 ReLaunch(command_line); |
| 365 return; | 363 return; |
| 366 } | 364 } |
| 367 | 365 |
| 368 // ChromeRestartRequest deletes itself after request sent to session manager. | 366 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 369 (new ChromeRestartRequest(command_line.argv()))->Start(); | 367 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 370 } | 368 } |
| 371 | 369 |
| 372 } // namespace chromeos | 370 } // namespace chromeos |
| OLD | NEW |