| 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/chromeos/chromeos_version.h" | 10 #include "base/chromeos/chromeos_version.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 ::switches::kTouchEvents, | 126 ::switches::kTouchEvents, |
| 127 ::switches::kTouchOptimizedUI, | 127 ::switches::kTouchOptimizedUI, |
| 128 ::switches::kUIDisableThreadedCompositing, | 128 ::switches::kUIDisableThreadedCompositing, |
| 129 ::switches::kUIMaxFramesPending, | 129 ::switches::kUIMaxFramesPending, |
| 130 ::switches::kUIPrioritizeInGpuProcess, | 130 ::switches::kUIPrioritizeInGpuProcess, |
| 131 #if defined(USE_CRAS) | 131 #if defined(USE_CRAS) |
| 132 ::switches::kUseCras, | 132 ::switches::kUseCras, |
| 133 #endif | 133 #endif |
| 134 ::switches::kUseGL, | 134 ::switches::kUseGL, |
| 135 ::switches::kUserDataDir, | 135 ::switches::kUserDataDir, |
| 136 ::switches::kUseExynosVda, | |
| 137 ::switches::kV, | 136 ::switches::kV, |
| 138 ::switches::kEnableWebGLDraftExtensions, | 137 ::switches::kEnableWebGLDraftExtensions, |
| 139 ash::switches::kAshDefaultGuestWallpaperLarge, | 138 ash::switches::kAshDefaultGuestWallpaperLarge, |
| 140 ash::switches::kAshDefaultGuestWallpaperSmall, | 139 ash::switches::kAshDefaultGuestWallpaperSmall, |
| 141 ash::switches::kAshDefaultWallpaperLarge, | 140 ash::switches::kAshDefaultWallpaperLarge, |
| 142 ash::switches::kAshDefaultWallpaperSmall, | 141 ash::switches::kAshDefaultWallpaperSmall, |
| 143 #if defined(OS_CHROMEOS) | 142 #if defined(OS_CHROMEOS) |
| 144 ash::switches::kAshDisableAudioDeviceMenu, | 143 ash::switches::kAshDisableAudioDeviceMenu, |
| 145 #endif | 144 #endif |
| 146 ash::switches::kAshHostWindowBounds, | 145 ash::switches::kAshHostWindowBounds, |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 // Relaunch chrome without session manager on dev box. | 352 // Relaunch chrome without session manager on dev box. |
| 354 ReLaunch(command_line); | 353 ReLaunch(command_line); |
| 355 return; | 354 return; |
| 356 } | 355 } |
| 357 | 356 |
| 358 // ChromeRestartRequest deletes itself after request sent to session manager. | 357 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 359 (new ChromeRestartRequest(command_line))->Start(); | 358 (new ChromeRestartRequest(command_line))->Start(); |
| 360 } | 359 } |
| 361 | 360 |
| 362 } // namespace chromeos | 361 } // namespace chromeos |
| OLD | NEW |