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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 ::switches::kUIDisableThreadedCompositing, | 147 ::switches::kUIDisableThreadedCompositing, |
148 ::switches::kUIPrioritizeInGpuProcess, | 148 ::switches::kUIPrioritizeInGpuProcess, |
149 #if defined(USE_CRAS) | 149 #if defined(USE_CRAS) |
150 ::switches::kUseCras, | 150 ::switches::kUseCras, |
151 #endif | 151 #endif |
152 ::switches::kUseDiscardableMemory, | 152 ::switches::kUseDiscardableMemory, |
153 ::switches::kUseGL, | 153 ::switches::kUseGL, |
154 ::switches::kUserDataDir, | 154 ::switches::kUserDataDir, |
155 ::switches::kV, | 155 ::switches::kV, |
156 ::switches::kVModule, | 156 ::switches::kVModule, |
157 ::switches::kWebGLCommandBufferSizeKb, | |
158 ::switches::kEnableWebGLDraftExtensions, | 157 ::switches::kEnableWebGLDraftExtensions, |
159 #if defined(ENABLE_WEBRTC) | 158 #if defined(ENABLE_WEBRTC) |
160 ::switches::kDisableWebRtcHWDecoding, | 159 ::switches::kDisableWebRtcHWDecoding, |
161 ::switches::kDisableWebRtcHWEncoding, | 160 ::switches::kDisableWebRtcHWEncoding, |
162 ::switches::kEnableAudioTrackProcessing, | 161 ::switches::kEnableAudioTrackProcessing, |
163 ::switches::kEnableWebRtcHWVp8Encoding, | 162 ::switches::kEnableWebRtcHWVp8Encoding, |
164 #endif | 163 #endif |
165 #if defined(USE_OZONE) | 164 #if defined(USE_OZONE) |
166 ::switches::kOzonePlatform, | 165 ::switches::kOzonePlatform, |
167 #endif | 166 #endif |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 376 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 377 ReLaunch(command_line); |
379 return; | 378 return; |
380 } | 379 } |
381 | 380 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 381 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 382 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 383 } |
385 | 384 |
386 } // namespace chromeos | 385 } // namespace chromeos |
OLD | NEW |