| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // here should also be added to | 191 // here should also be added to |
| 192 // content/browser/renderer_host/render_process_host_impl.cc. | 192 // content/browser/renderer_host/render_process_host_impl.cc. |
| 193 cc::switches::kCompositeToMailbox, | 193 cc::switches::kCompositeToMailbox, |
| 194 cc::switches::kDisableCompositedAntialiasing, | 194 cc::switches::kDisableCompositedAntialiasing, |
| 195 cc::switches::kDisableMainFrameBeforeActivation, | 195 cc::switches::kDisableMainFrameBeforeActivation, |
| 196 cc::switches::kDisableThreadedAnimation, | 196 cc::switches::kDisableThreadedAnimation, |
| 197 cc::switches::kEnableBeginFrameScheduling, | 197 cc::switches::kEnableBeginFrameScheduling, |
| 198 cc::switches::kEnableGpuBenchmarking, | 198 cc::switches::kEnableGpuBenchmarking, |
| 199 cc::switches::kEnablePropertyTreeVerification, | 199 cc::switches::kEnablePropertyTreeVerification, |
| 200 cc::switches::kEnableMainFrameBeforeActivation, | 200 cc::switches::kEnableMainFrameBeforeActivation, |
| 201 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | |
| 202 cc::switches::kShowCompositedLayerBorders, | 201 cc::switches::kShowCompositedLayerBorders, |
| 203 cc::switches::kShowFPSCounter, | 202 cc::switches::kShowFPSCounter, |
| 204 cc::switches::kShowLayerAnimationBounds, | 203 cc::switches::kShowLayerAnimationBounds, |
| 205 cc::switches::kShowPropertyChangedRects, | 204 cc::switches::kShowPropertyChangedRects, |
| 206 cc::switches::kShowReplicaScreenSpaceRects, | 205 cc::switches::kShowReplicaScreenSpaceRects, |
| 207 cc::switches::kShowScreenSpaceRects, | 206 cc::switches::kShowScreenSpaceRects, |
| 208 cc::switches::kShowSurfaceDamageRects, | 207 cc::switches::kShowSurfaceDamageRects, |
| 209 cc::switches::kSlowDownRasterScaleFactor, | 208 cc::switches::kSlowDownRasterScaleFactor, |
| 210 cc::switches::kUIDisablePartialSwap, | 209 cc::switches::kUIDisablePartialSwap, |
| 211 chromeos::switches::kConsumerDeviceManagementUrl, | 210 chromeos::switches::kConsumerDeviceManagementUrl, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 // Relaunch chrome without session manager on dev box. | 355 // Relaunch chrome without session manager on dev box. |
| 357 ReLaunch(command_line); | 356 ReLaunch(command_line); |
| 358 return; | 357 return; |
| 359 } | 358 } |
| 360 | 359 |
| 361 // ChromeRestartRequest deletes itself after request sent to session manager. | 360 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 362 (new ChromeRestartRequest(command_line.argv()))->Start(); | 361 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 363 } | 362 } |
| 364 | 363 |
| 365 } // namespace chromeos | 364 } // namespace chromeos |
| OLD | NEW |