| 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/base_switches.h" | 10 #include "base/base_switches.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 ::switches::kTopChromeMD, | 149 ::switches::kTopChromeMD, |
| 150 #endif | 150 #endif |
| 151 ::switches::kTraceToConsole, | 151 ::switches::kTraceToConsole, |
| 152 ::switches::kUIDisableCompositorAnimationTimelines, | 152 ::switches::kUIDisableCompositorAnimationTimelines, |
| 153 ::switches::kUIDisablePartialSwap, | 153 ::switches::kUIDisablePartialSwap, |
| 154 ::switches::kUIPrioritizeInGpuProcess, | 154 ::switches::kUIPrioritizeInGpuProcess, |
| 155 #if defined(USE_CRAS) | 155 #if defined(USE_CRAS) |
| 156 ::switches::kUseCras, | 156 ::switches::kUseCras, |
| 157 #endif | 157 #endif |
| 158 ::switches::kUseGL, | 158 ::switches::kUseGL, |
| 159 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, | |
| 160 ::switches::kUserDataDir, | 159 ::switches::kUserDataDir, |
| 161 ::switches::kV, | 160 ::switches::kV, |
| 162 ::switches::kVModule, | 161 ::switches::kVModule, |
| 163 ::switches::kEnableWebGLDraftExtensions, | 162 ::switches::kEnableWebGLDraftExtensions, |
| 164 ::switches::kEnableWebGLImageChromium, | 163 ::switches::kEnableWebGLImageChromium, |
| 165 ::switches::kEnableWebVR, | 164 ::switches::kEnableWebVR, |
| 166 #if defined(ENABLE_WEBRTC) | 165 #if defined(ENABLE_WEBRTC) |
| 167 ::switches::kDisableWebRtcHWDecoding, | 166 ::switches::kDisableWebRtcHWDecoding, |
| 168 ::switches::kDisableWebRtcHWEncoding, | 167 ::switches::kDisableWebRtcHWEncoding, |
| 169 ::switches::kEnableWebRtcHWH264Encoding, | 168 ::switches::kEnableWebRtcHWH264Encoding, |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 // Relaunch chrome without session manager on dev box. | 354 // Relaunch chrome without session manager on dev box. |
| 356 ReLaunch(command_line); | 355 ReLaunch(command_line); |
| 357 return; | 356 return; |
| 358 } | 357 } |
| 359 | 358 |
| 360 // ChromeRestartRequest deletes itself after request sent to session manager. | 359 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 361 (new ChromeRestartRequest(command_line.argv()))->Start(); | 360 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 362 } | 361 } |
| 363 | 362 |
| 364 } // namespace chromeos | 363 } // namespace chromeos |
| OLD | NEW |