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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 ::switches::kEnableShareGroupAsyncTextureUpload, | 123 ::switches::kEnableShareGroupAsyncTextureUpload, |
124 ::switches::kTabCaptureUpscaleQuality, | 124 ::switches::kTabCaptureUpscaleQuality, |
125 ::switches::kTabCaptureDownscaleQuality, | 125 ::switches::kTabCaptureDownscaleQuality, |
126 #if defined(USE_XI2_MT) | 126 #if defined(USE_XI2_MT) |
127 ::switches::kTouchCalibration, | 127 ::switches::kTouchCalibration, |
128 #endif | 128 #endif |
129 ::switches::kTouchDevices, | 129 ::switches::kTouchDevices, |
130 ::switches::kTouchEvents, | 130 ::switches::kTouchEvents, |
131 ::switches::kTouchOptimizedUI, | 131 ::switches::kTouchOptimizedUI, |
132 ::switches::kUIDisableThreadedCompositing, | 132 ::switches::kUIDisableThreadedCompositing, |
133 ::switches::kUIPrioritizeInGpuProcess, | |
134 #if defined(USE_CRAS) | 133 #if defined(USE_CRAS) |
135 ::switches::kUseCras, | 134 ::switches::kUseCras, |
136 #endif | 135 #endif |
137 ::switches::kUseDiscardableMemory, | 136 ::switches::kUseDiscardableMemory, |
138 ::switches::kUseGL, | 137 ::switches::kUseGL, |
139 ::switches::kUserDataDir, | 138 ::switches::kUserDataDir, |
140 ::switches::kV, | 139 ::switches::kV, |
141 ::switches::kVModule, | 140 ::switches::kVModule, |
142 ::switches::kWebGLCommandBufferSizeKb, | 141 ::switches::kWebGLCommandBufferSizeKb, |
143 ::switches::kEnableWebGLDraftExtensions, | 142 ::switches::kEnableWebGLDraftExtensions, |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // Relaunch chrome without session manager on dev box. | 354 // Relaunch chrome without session manager on dev box. |
356 ReLaunch(command_line); | 355 ReLaunch(command_line); |
357 return; | 356 return; |
358 } | 357 } |
359 | 358 |
360 // ChromeRestartRequest deletes itself after request sent to session manager. | 359 // ChromeRestartRequest deletes itself after request sent to session manager. |
361 (new ChromeRestartRequest(command_line))->Start(); | 360 (new ChromeRestartRequest(command_line))->Start(); |
362 } | 361 } |
363 | 362 |
364 } // namespace chromeos | 363 } // namespace chromeos |
OLD | NEW |