| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 ::switches::kDisablePanelFitting, | 91 ::switches::kDisablePanelFitting, |
| 92 ::switches::kDisableSeccompFilterSandbox, | 92 ::switches::kDisableSeccompFilterSandbox, |
| 93 ::switches::kDisableSetuidSandbox, | 93 ::switches::kDisableSetuidSandbox, |
| 94 ::switches::kDisableSurfaces, | 94 ::switches::kDisableSurfaces, |
| 95 ::switches::kDisableTextBlobs, | 95 ::switches::kDisableTextBlobs, |
| 96 ::switches::kDisableThreadedScrolling, | 96 ::switches::kDisableThreadedScrolling, |
| 97 ::switches::kDisableTouchDragDrop, | 97 ::switches::kDisableTouchDragDrop, |
| 98 ::switches::kDisableTouchEditing, | 98 ::switches::kDisableTouchEditing, |
| 99 ::switches::kEnableBeginFrameScheduling, | 99 ::switches::kEnableBeginFrameScheduling, |
| 100 ::switches::kEnableBlinkFeatures, | 100 ::switches::kEnableBlinkFeatures, |
| 101 ::switches::kEnableCompositorAnimationTimelines, | |
| 102 ::switches::kEnableDelegatedRenderer, | 101 ::switches::kEnableDelegatedRenderer, |
| 103 ::switches::kDisableDisplayList2dCanvas, | 102 ::switches::kDisableDisplayList2dCanvas, |
| 104 ::switches::kEnableDisplayList2dCanvas, | 103 ::switches::kEnableDisplayList2dCanvas, |
| 105 ::switches::kForceDisplayList2dCanvas, | 104 ::switches::kForceDisplayList2dCanvas, |
| 106 ::switches::kDisableEncryptedMedia, | 105 ::switches::kDisableEncryptedMedia, |
| 107 ::switches::kDisableGpuSandbox, | 106 ::switches::kDisableGpuSandbox, |
| 108 ::switches::kEnableDistanceFieldText, | 107 ::switches::kEnableDistanceFieldText, |
| 109 ::switches::kEnableGpuRasterization, | 108 ::switches::kEnableGpuRasterization, |
| 110 ::switches::kEnableImageColorProfiles, | 109 ::switches::kEnableImageColorProfiles, |
| 111 ::switches::kEnableLogging, | 110 ::switches::kEnableLogging, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 139 ::switches::kRootLayerScrolls, | 138 ::switches::kRootLayerScrolls, |
| 140 ::switches::kEnableShareGroupAsyncTextureUpload, | 139 ::switches::kEnableShareGroupAsyncTextureUpload, |
| 141 ::switches::kTabCaptureUpscaleQuality, | 140 ::switches::kTabCaptureUpscaleQuality, |
| 142 ::switches::kTabCaptureDownscaleQuality, | 141 ::switches::kTabCaptureDownscaleQuality, |
| 143 #if defined(USE_X11) || defined(USE_OZONE) | 142 #if defined(USE_X11) || defined(USE_OZONE) |
| 144 ::switches::kTouchCalibration, | 143 ::switches::kTouchCalibration, |
| 145 #endif | 144 #endif |
| 146 ::switches::kTouchDevices, | 145 ::switches::kTouchDevices, |
| 147 ::switches::kTouchEvents, | 146 ::switches::kTouchEvents, |
| 148 ::switches::kUIDisableThreadedCompositing, | 147 ::switches::kUIDisableThreadedCompositing, |
| 149 ::switches::kUIEnableCompositorAnimationTimelines, | |
| 150 ::switches::kUIPrioritizeInGpuProcess, | 148 ::switches::kUIPrioritizeInGpuProcess, |
| 151 #if defined(USE_CRAS) | 149 #if defined(USE_CRAS) |
| 152 ::switches::kUseCras, | 150 ::switches::kUseCras, |
| 153 #endif | 151 #endif |
| 154 ::switches::kUseGL, | 152 ::switches::kUseGL, |
| 155 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, | 153 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, |
| 156 ::switches::kUserDataDir, | 154 ::switches::kUserDataDir, |
| 157 ::switches::kV, | 155 ::switches::kV, |
| 158 ::switches::kVModule, | 156 ::switches::kVModule, |
| 159 ::switches::kEnableWebGLDraftExtensions, | 157 ::switches::kEnableWebGLDraftExtensions, |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 // Relaunch chrome without session manager on dev box. | 375 // Relaunch chrome without session manager on dev box. |
| 378 ReLaunch(command_line); | 376 ReLaunch(command_line); |
| 379 return; | 377 return; |
| 380 } | 378 } |
| 381 | 379 |
| 382 // ChromeRestartRequest deletes itself after request sent to session manager. | 380 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 383 (new ChromeRestartRequest(command_line))->Start(); | 381 (new ChromeRestartRequest(command_line))->Start(); |
| 384 } | 382 } |
| 385 | 383 |
| 386 } // namespace chromeos | 384 } // namespace chromeos |
| OLD | NEW |