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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ::switches::kPpapiInProcess, | 134 ::switches::kPpapiInProcess, |
135 ::switches::kRendererStartupDialog, | 135 ::switches::kRendererStartupDialog, |
136 ::switches::kEnableShareGroupAsyncTextureUpload, | 136 ::switches::kEnableShareGroupAsyncTextureUpload, |
137 ::switches::kTabCaptureUpscaleQuality, | 137 ::switches::kTabCaptureUpscaleQuality, |
138 ::switches::kTabCaptureDownscaleQuality, | 138 ::switches::kTabCaptureDownscaleQuality, |
139 #if defined(USE_XI2_MT) | 139 #if defined(USE_XI2_MT) |
140 ::switches::kTouchCalibration, | 140 ::switches::kTouchCalibration, |
141 #endif | 141 #endif |
142 ::switches::kTouchDevices, | 142 ::switches::kTouchDevices, |
143 ::switches::kTouchEvents, | 143 ::switches::kTouchEvents, |
144 ::switches::kTouchOptimizedUI, | |
145 ::switches::kUIDisableThreadedCompositing, | 144 ::switches::kUIDisableThreadedCompositing, |
146 ::switches::kUIPrioritizeInGpuProcess, | 145 ::switches::kUIPrioritizeInGpuProcess, |
147 #if defined(USE_CRAS) | 146 #if defined(USE_CRAS) |
148 ::switches::kUseCras, | 147 ::switches::kUseCras, |
149 #endif | 148 #endif |
150 ::switches::kUseDiscardableMemory, | 149 ::switches::kUseDiscardableMemory, |
151 ::switches::kUseGL, | 150 ::switches::kUseGL, |
152 ::switches::kUserDataDir, | 151 ::switches::kUserDataDir, |
153 ::switches::kV, | 152 ::switches::kV, |
154 ::switches::kVModule, | 153 ::switches::kVModule, |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 // Relaunch chrome without session manager on dev box. | 370 // Relaunch chrome without session manager on dev box. |
372 ReLaunch(command_line); | 371 ReLaunch(command_line); |
373 return; | 372 return; |
374 } | 373 } |
375 | 374 |
376 // ChromeRestartRequest deletes itself after request sent to session manager. | 375 // ChromeRestartRequest deletes itself after request sent to session manager. |
377 (new ChromeRestartRequest(command_line))->Start(); | 376 (new ChromeRestartRequest(command_line))->Start(); |
378 } | 377 } |
379 | 378 |
380 } // namespace chromeos | 379 } // namespace chromeos |
OLD | NEW |