| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 cc::switches::kDisableThreadedAnimation, | 188 cc::switches::kDisableThreadedAnimation, |
| 189 cc::switches::kEnableGpuBenchmarking, | 189 cc::switches::kEnableGpuBenchmarking, |
| 190 cc::switches::kEnablePinchVirtualViewport, | 190 cc::switches::kEnablePinchVirtualViewport, |
| 191 cc::switches::kEnableMainFrameBeforeActivation, | 191 cc::switches::kEnableMainFrameBeforeActivation, |
| 192 cc::switches::kEnableTopControlsPositionCalculation, | 192 cc::switches::kEnableTopControlsPositionCalculation, |
| 193 cc::switches::kMaxTilesForInterestArea, | 193 cc::switches::kMaxTilesForInterestArea, |
| 194 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 194 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 195 cc::switches::kShowCompositedLayerBorders, | 195 cc::switches::kShowCompositedLayerBorders, |
| 196 cc::switches::kShowFPSCounter, | 196 cc::switches::kShowFPSCounter, |
| 197 cc::switches::kShowLayerAnimationBounds, | 197 cc::switches::kShowLayerAnimationBounds, |
| 198 cc::switches::kShowNonOccludingRects, | |
| 199 cc::switches::kShowOccludingRects, | |
| 200 cc::switches::kShowPropertyChangedRects, | 198 cc::switches::kShowPropertyChangedRects, |
| 201 cc::switches::kShowReplicaScreenSpaceRects, | 199 cc::switches::kShowReplicaScreenSpaceRects, |
| 202 cc::switches::kShowScreenSpaceRects, | 200 cc::switches::kShowScreenSpaceRects, |
| 203 cc::switches::kShowSurfaceDamageRects, | 201 cc::switches::kShowSurfaceDamageRects, |
| 204 cc::switches::kSlowDownRasterScaleFactor, | 202 cc::switches::kSlowDownRasterScaleFactor, |
| 205 cc::switches::kUIDisablePartialSwap, | 203 cc::switches::kUIDisablePartialSwap, |
| 206 chromeos::switches::kConsumerDeviceManagementUrl, | 204 chromeos::switches::kConsumerDeviceManagementUrl, |
| 207 chromeos::switches::kDbusStub, | 205 chromeos::switches::kDbusStub, |
| 208 chromeos::switches::kDbusUnstubClients, | 206 chromeos::switches::kDbusUnstubClients, |
| 209 chromeos::switches::kDisableLoginAnimations, | 207 chromeos::switches::kDisableLoginAnimations, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // Relaunch chrome without session manager on dev box. | 377 // Relaunch chrome without session manager on dev box. |
| 380 ReLaunch(command_line); | 378 ReLaunch(command_line); |
| 381 return; | 379 return; |
| 382 } | 380 } |
| 383 | 381 |
| 384 // ChromeRestartRequest deletes itself after request sent to session manager. | 382 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 385 (new ChromeRestartRequest(command_line))->Start(); | 383 (new ChromeRestartRequest(command_line))->Start(); |
| 386 } | 384 } |
| 387 | 385 |
| 388 } // namespace chromeos | 386 } // namespace chromeos |
| OLD | NEW |