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::kNoSandbox, | 123 ::switches::kNoSandbox, |
124 ::switches::kNumRasterThreads, | 124 ::switches::kNumRasterThreads, |
125 ::switches::kPpapiFlashArgs, | 125 ::switches::kPpapiFlashArgs, |
126 ::switches::kPpapiFlashPath, | 126 ::switches::kPpapiFlashPath, |
127 ::switches::kPpapiFlashVersion, | 127 ::switches::kPpapiFlashVersion, |
128 ::switches::kPpapiInProcess, | 128 ::switches::kPpapiInProcess, |
129 ::switches::kRendererStartupDialog, | 129 ::switches::kRendererStartupDialog, |
130 ::switches::kEnableShareGroupAsyncTextureUpload, | 130 ::switches::kEnableShareGroupAsyncTextureUpload, |
131 ::switches::kTabCaptureUpscaleQuality, | 131 ::switches::kTabCaptureUpscaleQuality, |
132 ::switches::kTabCaptureDownscaleQuality, | 132 ::switches::kTabCaptureDownscaleQuality, |
133 #if defined(USE_XI2_MT) | 133 #if defined(USE_XI2_MT) || defined(USE_OZONE) |
134 ::switches::kTouchCalibration, | 134 ::switches::kTouchCalibration, |
135 #endif | 135 #endif |
136 ::switches::kTouchDevices, | 136 ::switches::kTouchDevices, |
137 ::switches::kTouchEvents, | 137 ::switches::kTouchEvents, |
138 ::switches::kUIDisableThreadedCompositing, | 138 ::switches::kUIDisableThreadedCompositing, |
139 ::switches::kUIPrioritizeInGpuProcess, | 139 ::switches::kUIPrioritizeInGpuProcess, |
140 #if defined(USE_CRAS) | 140 #if defined(USE_CRAS) |
141 ::switches::kUseCras, | 141 ::switches::kUseCras, |
142 #endif | 142 #endif |
143 ::switches::kUseDiscardableMemory, | 143 ::switches::kUseDiscardableMemory, |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // Relaunch chrome without session manager on dev box. | 370 // Relaunch chrome without session manager on dev box. |
371 ReLaunch(command_line); | 371 ReLaunch(command_line); |
372 return; | 372 return; |
373 } | 373 } |
374 | 374 |
375 // ChromeRestartRequest deletes itself after request sent to session manager. | 375 // ChromeRestartRequest deletes itself after request sent to session manager. |
376 (new ChromeRestartRequest(command_line))->Start(); | 376 (new ChromeRestartRequest(command_line))->Start(); |
377 } | 377 } |
378 | 378 |
379 } // namespace chromeos | 379 } // namespace chromeos |
OLD | NEW |