| 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 "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 ::switches::kUseGL, | 152 ::switches::kUseGL, |
| 153 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, | 153 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, |
| 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::kDisableWebRtcHWDecoding, | 160 ::switches::kDisableWebRtcHWDecoding, |
| 161 ::switches::kDisableWebRtcHWEncoding, | 161 ::switches::kDisableWebRtcHWEncoding, |
| 162 ::switches::kEnableWebRtcHWVp8Encoding, | |
| 163 ::switches::kEnableWebRtcHWH264Encoding, | 162 ::switches::kEnableWebRtcHWH264Encoding, |
| 164 #endif | 163 #endif |
| 165 ::switches::kDisableVaapiAcceleratedVideoEncode, | 164 ::switches::kDisableVaapiAcceleratedVideoEncode, |
| 166 #if defined(USE_OZONE) | 165 #if defined(USE_OZONE) |
| 167 ::switches::kOzoneInitialDisplayBounds, | 166 ::switches::kOzoneInitialDisplayBounds, |
| 168 ::switches::kOzoneInitialDisplayPhysicalSizeMm, | 167 ::switches::kOzoneInitialDisplayPhysicalSizeMm, |
| 169 ::switches::kOzonePlatform, | 168 ::switches::kOzonePlatform, |
| 170 ::switches::kOzoneUseSurfaceless, | 169 ::switches::kOzoneUseSurfaceless, |
| 171 #endif | 170 #endif |
| 172 app_list::switches::kDisableSyncAppList, | 171 app_list::switches::kDisableSyncAppList, |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 // Relaunch chrome without session manager on dev box. | 380 // Relaunch chrome without session manager on dev box. |
| 382 ReLaunch(command_line); | 381 ReLaunch(command_line); |
| 383 return; | 382 return; |
| 384 } | 383 } |
| 385 | 384 |
| 386 // ChromeRestartRequest deletes itself after request sent to session manager. | 385 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 387 (new ChromeRestartRequest(command_line))->Start(); | 386 (new ChromeRestartRequest(command_line))->Start(); |
| 388 } | 387 } |
| 389 | 388 |
| 390 } // namespace chromeos | 389 } // namespace chromeos |
| OLD | NEW |