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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 ::switches::kUserDataDir, | 143 ::switches::kUserDataDir, |
144 ::switches::kV, | 144 ::switches::kV, |
145 ::switches::kVModule, | 145 ::switches::kVModule, |
146 ::switches::kEnableWebGLDraftExtensions, | 146 ::switches::kEnableWebGLDraftExtensions, |
147 ::switches::kEnableWebGLImageChromium, | 147 ::switches::kEnableWebGLImageChromium, |
148 #if defined(ENABLE_WEBRTC) | 148 #if defined(ENABLE_WEBRTC) |
149 ::switches::kDisableAudioTrackProcessing, | 149 ::switches::kDisableAudioTrackProcessing, |
150 ::switches::kDisableWebRtcHWDecoding, | 150 ::switches::kDisableWebRtcHWDecoding, |
151 ::switches::kDisableWebRtcHWEncoding, | 151 ::switches::kDisableWebRtcHWEncoding, |
152 ::switches::kEnableWebRtcHWVp8Encoding, | 152 ::switches::kEnableWebRtcHWVp8Encoding, |
| 153 ::switches::kEnableWebRtcHWH264Encoding, |
153 #endif | 154 #endif |
154 ::switches::kDisableVaapiAcceleratedVideoEncode, | 155 ::switches::kDisableVaapiAcceleratedVideoEncode, |
155 #if defined(USE_OZONE) | 156 #if defined(USE_OZONE) |
156 ::switches::kOzonePlatform, | 157 ::switches::kOzonePlatform, |
157 ::switches::kOzoneUseSurfaceless, | 158 ::switches::kOzoneUseSurfaceless, |
158 #endif | 159 #endif |
159 app_list::switches::kDisableSyncAppList, | 160 app_list::switches::kDisableSyncAppList, |
160 app_list::switches::kEnableSyncAppList, | 161 app_list::switches::kEnableSyncAppList, |
161 ash::switches::kAshDefaultWallpaperLarge, | 162 ash::switches::kAshDefaultWallpaperLarge, |
162 ash::switches::kAshDefaultWallpaperSmall, | 163 ash::switches::kAshDefaultWallpaperSmall, |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 // Relaunch chrome without session manager on dev box. | 368 // Relaunch chrome without session manager on dev box. |
368 ReLaunch(command_line); | 369 ReLaunch(command_line); |
369 return; | 370 return; |
370 } | 371 } |
371 | 372 |
372 // ChromeRestartRequest deletes itself after request sent to session manager. | 373 // ChromeRestartRequest deletes itself after request sent to session manager. |
373 (new ChromeRestartRequest(command_line))->Start(); | 374 (new ChromeRestartRequest(command_line))->Start(); |
374 } | 375 } |
375 | 376 |
376 } // namespace chromeos | 377 } // namespace chromeos |
OLD | NEW |