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 "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 ::switches::kGpuSandboxFailuresFatal, | 125 ::switches::kGpuSandboxFailuresFatal, |
126 ::switches::kGpuSandboxStartEarly, | 126 ::switches::kGpuSandboxStartEarly, |
127 ::switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, | 127 ::switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, |
128 ::switches::kNoSandbox, | 128 ::switches::kNoSandbox, |
129 ::switches::kNumRasterThreads, | 129 ::switches::kNumRasterThreads, |
130 ::switches::kPpapiFlashArgs, | 130 ::switches::kPpapiFlashArgs, |
131 ::switches::kPpapiFlashPath, | 131 ::switches::kPpapiFlashPath, |
132 ::switches::kPpapiFlashVersion, | 132 ::switches::kPpapiFlashVersion, |
133 ::switches::kPpapiInProcess, | 133 ::switches::kPpapiInProcess, |
134 ::switches::kRendererStartupDialog, | 134 ::switches::kRendererStartupDialog, |
135 ::switches::kRootLayerScrolls, | |
136 ::switches::kEnableShareGroupAsyncTextureUpload, | 135 ::switches::kEnableShareGroupAsyncTextureUpload, |
137 ::switches::kTabCaptureUpscaleQuality, | 136 ::switches::kTabCaptureUpscaleQuality, |
138 ::switches::kTabCaptureDownscaleQuality, | 137 ::switches::kTabCaptureDownscaleQuality, |
139 #if defined(USE_XI2_MT) || defined(USE_OZONE) | 138 #if defined(USE_XI2_MT) || defined(USE_OZONE) |
140 ::switches::kTouchCalibration, | 139 ::switches::kTouchCalibration, |
141 #endif | 140 #endif |
142 ::switches::kTouchDevices, | 141 ::switches::kTouchDevices, |
143 ::switches::kTouchEvents, | 142 ::switches::kTouchEvents, |
144 ::switches::kUIDisableThreadedCompositing, | 143 ::switches::kUIDisableThreadedCompositing, |
145 ::switches::kUIPrioritizeInGpuProcess, | 144 ::switches::kUIPrioritizeInGpuProcess, |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 376 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 377 ReLaunch(command_line); |
379 return; | 378 return; |
380 } | 379 } |
381 | 380 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 381 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 382 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 383 } |
385 | 384 |
386 } // namespace chromeos | 385 } // namespace chromeos |
OLD | NEW |