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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 ::switches::kTabCaptureDownscaleQuality, | 128 ::switches::kTabCaptureDownscaleQuality, |
129 #if defined(USE_XI2_MT) | 129 #if defined(USE_XI2_MT) |
130 ::switches::kTouchCalibration, | 130 ::switches::kTouchCalibration, |
131 #endif | 131 #endif |
132 ::switches::kTouchDevices, | 132 ::switches::kTouchDevices, |
133 ::switches::kTouchEvents, | 133 ::switches::kTouchEvents, |
134 ::switches::kTouchOptimizedUI, | 134 ::switches::kTouchOptimizedUI, |
135 ::switches::kUIDisableDeadlineScheduling, | 135 ::switches::kUIDisableDeadlineScheduling, |
136 ::switches::kUIDisableThreadedCompositing, | 136 ::switches::kUIDisableThreadedCompositing, |
137 ::switches::kUIEnableDeadlineScheduling, | 137 ::switches::kUIEnableDeadlineScheduling, |
138 ::switches::kUIMaxFramesPending, | |
139 ::switches::kUIPrioritizeInGpuProcess, | 138 ::switches::kUIPrioritizeInGpuProcess, |
140 #if defined(USE_CRAS) | 139 #if defined(USE_CRAS) |
141 ::switches::kUseCras, | 140 ::switches::kUseCras, |
142 #endif | 141 #endif |
143 ::switches::kUseDiscardableMemory, | 142 ::switches::kUseDiscardableMemory, |
144 ::switches::kUseGL, | 143 ::switches::kUseGL, |
145 ::switches::kUserDataDir, | 144 ::switches::kUserDataDir, |
146 ::switches::kV, | 145 ::switches::kV, |
147 ::switches::kVModule, | 146 ::switches::kVModule, |
148 ::switches::kWebGLCommandBufferSizeKb, | 147 ::switches::kWebGLCommandBufferSizeKb, |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // Relaunch chrome without session manager on dev box. | 362 // Relaunch chrome without session manager on dev box. |
364 ReLaunch(command_line); | 363 ReLaunch(command_line); |
365 return; | 364 return; |
366 } | 365 } |
367 | 366 |
368 // ChromeRestartRequest deletes itself after request sent to session manager. | 367 // ChromeRestartRequest deletes itself after request sent to session manager. |
369 (new ChromeRestartRequest(command_line))->Start(); | 368 (new ChromeRestartRequest(command_line))->Start(); |
370 } | 369 } |
371 | 370 |
372 } // namespace chromeos | 371 } // namespace chromeos |
OLD | NEW |