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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 ::switches::kDisableAcceleratedVideoDecode, | 75 ::switches::kDisableAcceleratedVideoDecode, |
76 ::switches::kDisableBlinkFeatures, | 76 ::switches::kDisableBlinkFeatures, |
77 ::switches::kDisableCastStreamingHWEncoding, | 77 ::switches::kDisableCastStreamingHWEncoding, |
78 ::switches::kDisableDelegatedRenderer, | 78 ::switches::kDisableDelegatedRenderer, |
79 ::switches::kDisableDistanceFieldText, | 79 ::switches::kDisableDistanceFieldText, |
80 ::switches::kDisableGpu, | 80 ::switches::kDisableGpu, |
81 ::switches::kDisableGpuShaderDiskCache, | 81 ::switches::kDisableGpuShaderDiskCache, |
82 ::switches::kDisableGpuWatchdog, | 82 ::switches::kDisableGpuWatchdog, |
83 ::switches::kDisableGpuCompositing, | 83 ::switches::kDisableGpuCompositing, |
84 ::switches::kDisableGpuRasterization, | 84 ::switches::kDisableGpuRasterization, |
85 ::switches::kDisableImplSidePainting, | |
86 ::switches::kDisableLowResTiling, | 85 ::switches::kDisableLowResTiling, |
87 ::switches::kDisableMediaSource, | 86 ::switches::kDisableMediaSource, |
88 ::switches::kDisableOneCopy, | 87 ::switches::kDisableOneCopy, |
89 ::switches::kDisablePreferCompositingToLCDText, | 88 ::switches::kDisablePreferCompositingToLCDText, |
90 ::switches::kDisablePrefixedEncryptedMedia, | 89 ::switches::kDisablePrefixedEncryptedMedia, |
91 ::switches::kDisablePanelFitting, | 90 ::switches::kDisablePanelFitting, |
92 ::switches::kDisableSeccompFilterSandbox, | 91 ::switches::kDisableSeccompFilterSandbox, |
93 ::switches::kDisableSetuidSandbox, | 92 ::switches::kDisableSetuidSandbox, |
94 ::switches::kDisableSurfaces, | 93 ::switches::kDisableSurfaces, |
95 ::switches::kDisableTextBlobs, | 94 ::switches::kDisableTextBlobs, |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // Relaunch chrome without session manager on dev box. | 377 // Relaunch chrome without session manager on dev box. |
379 ReLaunch(command_line); | 378 ReLaunch(command_line); |
380 return; | 379 return; |
381 } | 380 } |
382 | 381 |
383 // ChromeRestartRequest deletes itself after request sent to session manager. | 382 // ChromeRestartRequest deletes itself after request sent to session manager. |
384 (new ChromeRestartRequest(command_line))->Start(); | 383 (new ChromeRestartRequest(command_line))->Start(); |
385 } | 384 } |
386 | 385 |
387 } // namespace chromeos | 386 } // namespace chromeos |
OLD | NEW |