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