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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ::switches::kTouchEvents, | 131 ::switches::kTouchEvents, |
132 ::switches::kTouchOptimizedUI, | 132 ::switches::kTouchOptimizedUI, |
133 ::switches::kUIDisableDeadlineScheduling, | 133 ::switches::kUIDisableDeadlineScheduling, |
134 ::switches::kUIDisableThreadedCompositing, | 134 ::switches::kUIDisableThreadedCompositing, |
135 ::switches::kUIEnableDeadlineScheduling, | 135 ::switches::kUIEnableDeadlineScheduling, |
136 ::switches::kUIMaxFramesPending, | 136 ::switches::kUIMaxFramesPending, |
137 ::switches::kUIPrioritizeInGpuProcess, | 137 ::switches::kUIPrioritizeInGpuProcess, |
138 #if defined(USE_CRAS) | 138 #if defined(USE_CRAS) |
139 ::switches::kUseCras, | 139 ::switches::kUseCras, |
140 #endif | 140 #endif |
| 141 ::switches::kUseDiscardableMemory, |
141 ::switches::kUseGL, | 142 ::switches::kUseGL, |
142 ::switches::kUserDataDir, | 143 ::switches::kUserDataDir, |
143 ::switches::kV, | 144 ::switches::kV, |
144 ::switches::kVModule, | 145 ::switches::kVModule, |
145 ::switches::kWebGLCommandBufferSizeKb, | 146 ::switches::kWebGLCommandBufferSizeKb, |
146 ::switches::kEnableWebGLDraftExtensions, | 147 ::switches::kEnableWebGLDraftExtensions, |
147 #if defined(ENABLE_WEBRTC) | 148 #if defined(ENABLE_WEBRTC) |
148 ::switches::kDisableWebRtcHWDecoding, | 149 ::switches::kDisableWebRtcHWDecoding, |
149 ::switches::kDisableWebRtcHWEncoding, | 150 ::switches::kDisableWebRtcHWEncoding, |
150 ::switches::kEnableAudioTrackProcessing, | 151 ::switches::kEnableAudioTrackProcessing, |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 // Relaunch chrome without session manager on dev box. | 369 // Relaunch chrome without session manager on dev box. |
369 ReLaunch(command_line); | 370 ReLaunch(command_line); |
370 return; | 371 return; |
371 } | 372 } |
372 | 373 |
373 // ChromeRestartRequest deletes itself after request sent to session manager. | 374 // ChromeRestartRequest deletes itself after request sent to session manager. |
374 (new ChromeRestartRequest(command_line))->Start(); | 375 (new ChromeRestartRequest(command_line))->Start(); |
375 } | 376 } |
376 | 377 |
377 } // namespace chromeos | 378 } // namespace chromeos |
OLD | NEW |