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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::kEnableWebGLDraftExtensions, | 157 ::switches::kEnableWebGLDraftExtensions, |
158 ::switches::kEnableWebGLImageChromium, | 158 ::switches::kEnableWebGLImageChromium, |
159 #if defined(ENABLE_WEBRTC) | 159 #if defined(ENABLE_WEBRTC) |
| 160 ::switches::kDisableAudioTrackProcessing, |
160 ::switches::kDisableWebRtcHWDecoding, | 161 ::switches::kDisableWebRtcHWDecoding, |
161 ::switches::kDisableWebRtcHWEncoding, | 162 ::switches::kDisableWebRtcHWEncoding, |
162 ::switches::kEnableAudioTrackProcessing, | |
163 ::switches::kEnableWebRtcHWVp8Encoding, | 163 ::switches::kEnableWebRtcHWVp8Encoding, |
164 #endif | 164 #endif |
165 #if defined(USE_OZONE) | 165 #if defined(USE_OZONE) |
166 ::switches::kOzonePlatform, | 166 ::switches::kOzonePlatform, |
167 #endif | 167 #endif |
168 app_list::switches::kDisableSyncAppList, | 168 app_list::switches::kDisableSyncAppList, |
169 app_list::switches::kEnableSyncAppList, | 169 app_list::switches::kEnableSyncAppList, |
170 ash::switches::kAshDefaultWallpaperLarge, | 170 ash::switches::kAshDefaultWallpaperLarge, |
171 ash::switches::kAshDefaultWallpaperSmall, | 171 ash::switches::kAshDefaultWallpaperSmall, |
172 ash::switches::kAshGuestWallpaperLarge, | 172 ash::switches::kAshGuestWallpaperLarge, |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 377 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 378 ReLaunch(command_line); |
379 return; | 379 return; |
380 } | 380 } |
381 | 381 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 382 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 383 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 384 } |
385 | 385 |
386 } // namespace chromeos | 386 } // namespace chromeos |
OLD | NEW |