| 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/chromeos/chromeos_version.h" | 10 #include "base/chromeos/chromeos_version.h" |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 cc::switches::kNumRasterThreads, | 170 cc::switches::kNumRasterThreads, |
| 171 cc::switches::kShowCompositedLayerBorders, | 171 cc::switches::kShowCompositedLayerBorders, |
| 172 cc::switches::kShowFPSCounter, | 172 cc::switches::kShowFPSCounter, |
| 173 cc::switches::kShowNonOccludingRects, | 173 cc::switches::kShowNonOccludingRects, |
| 174 cc::switches::kShowOccludingRects, | 174 cc::switches::kShowOccludingRects, |
| 175 cc::switches::kShowPropertyChangedRects, | 175 cc::switches::kShowPropertyChangedRects, |
| 176 cc::switches::kShowReplicaScreenSpaceRects, | 176 cc::switches::kShowReplicaScreenSpaceRects, |
| 177 cc::switches::kShowScreenSpaceRects, | 177 cc::switches::kShowScreenSpaceRects, |
| 178 cc::switches::kShowSurfaceDamageRects, | 178 cc::switches::kShowSurfaceDamageRects, |
| 179 cc::switches::kSlowDownRasterScaleFactor, | 179 cc::switches::kSlowDownRasterScaleFactor, |
| 180 cc::switches::kSolidColorScrollbarColor, |
| 180 cc::switches::kTraceOverdraw, | 181 cc::switches::kTraceOverdraw, |
| 181 cc::switches::kUIDisablePartialSwap, | 182 cc::switches::kUIDisablePartialSwap, |
| 182 cc::switches::kUIEnablePerTilePainting, | 183 cc::switches::kUIEnablePerTilePainting, |
| 183 cc::switches::kUseMapImage, | 184 cc::switches::kUseMapImage, |
| 184 chromeos::switches::kDbusStub, | 185 chromeos::switches::kDbusStub, |
| 185 chromeos::switches::kDisableLoginAnimations, | 186 chromeos::switches::kDisableLoginAnimations, |
| 186 chromeos::switches::kDisableOobeAnimation, | 187 chromeos::switches::kDisableOobeAnimation, |
| 187 chromeos::switches::kHasChromeOSDiamondKey, | 188 chromeos::switches::kHasChromeOSDiamondKey, |
| 188 chromeos::switches::kHasChromeOSKeyboard, | 189 chromeos::switches::kHasChromeOSKeyboard, |
| 189 chromeos::switches::kLoginProfile, | 190 chromeos::switches::kLoginProfile, |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 // Relaunch chrome without session manager on dev box. | 357 // Relaunch chrome without session manager on dev box. |
| 357 ReLaunch(command_line); | 358 ReLaunch(command_line); |
| 358 return; | 359 return; |
| 359 } | 360 } |
| 360 | 361 |
| 361 // ChromeRestartRequest deletes itself after request sent to session manager. | 362 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 362 (new ChromeRestartRequest(command_line))->Start(); | 363 (new ChromeRestartRequest(command_line))->Start(); |
| 363 } | 364 } |
| 364 | 365 |
| 365 } // namespace chromeos | 366 } // namespace chromeos |
| OLD | NEW |