| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 #endif | 151 #endif |
| 152 ::switches::kTraceToConsole, | 152 ::switches::kTraceToConsole, |
| 153 ::switches::kUIDisableCompositorAnimationTimelines, | 153 ::switches::kUIDisableCompositorAnimationTimelines, |
| 154 ::switches::kUIDisablePartialSwap, | 154 ::switches::kUIDisablePartialSwap, |
| 155 ::switches::kUIPrioritizeInGpuProcess, | 155 ::switches::kUIPrioritizeInGpuProcess, |
| 156 #if defined(USE_CRAS) | 156 #if defined(USE_CRAS) |
| 157 ::switches::kUseCras, | 157 ::switches::kUseCras, |
| 158 #endif | 158 #endif |
| 159 ::switches::kUseGL, | 159 ::switches::kUseGL, |
| 160 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, | 160 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, |
| 161 ::switches::kUseSingleThreadForBackgroundRasterTasks, |
| 161 ::switches::kUserDataDir, | 162 ::switches::kUserDataDir, |
| 162 ::switches::kV, | 163 ::switches::kV, |
| 163 ::switches::kVModule, | 164 ::switches::kVModule, |
| 164 ::switches::kEnableWebGLDraftExtensions, | 165 ::switches::kEnableWebGLDraftExtensions, |
| 165 ::switches::kEnableWebGLImageChromium, | 166 ::switches::kEnableWebGLImageChromium, |
| 166 ::switches::kEnableWebVR, | 167 ::switches::kEnableWebVR, |
| 167 #if defined(ENABLE_WEBRTC) | 168 #if defined(ENABLE_WEBRTC) |
| 168 ::switches::kDisableWebRtcHWDecoding, | 169 ::switches::kDisableWebRtcHWDecoding, |
| 169 ::switches::kDisableWebRtcHWEncoding, | 170 ::switches::kDisableWebRtcHWEncoding, |
| 170 ::switches::kEnableWebRtcHWH264Encoding, | 171 ::switches::kEnableWebRtcHWH264Encoding, |
| (...skipping 185 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.argv()))->Start(); | 363 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 363 } | 364 } |
| 364 | 365 |
| 365 } // namespace chromeos | 366 } // namespace chromeos |
| OLD | NEW |