| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::kDisableLowResTiling, | 85 ::switches::kDisableLowResTiling, |
| 86 ::switches::kDisableMediaSource, | 86 ::switches::kDisableMediaSource, |
| 87 ::switches::kDisableOneCopy, | |
| 88 ::switches::kDisablePreferCompositingToLCDText, | 87 ::switches::kDisablePreferCompositingToLCDText, |
| 89 ::switches::kDisablePrefixedEncryptedMedia, | 88 ::switches::kDisablePrefixedEncryptedMedia, |
| 90 ::switches::kDisablePanelFitting, | 89 ::switches::kDisablePanelFitting, |
| 91 ::switches::kDisableSeccompFilterSandbox, | 90 ::switches::kDisableSeccompFilterSandbox, |
| 92 ::switches::kDisableSetuidSandbox, | 91 ::switches::kDisableSetuidSandbox, |
| 93 ::switches::kDisableSlimmingPaint, | 92 ::switches::kDisableSlimmingPaint, |
| 94 ::switches::kDisableSurfaces, | 93 ::switches::kDisableSurfaces, |
| 95 ::switches::kDisableTextBlobs, | 94 ::switches::kDisableTextBlobs, |
| 96 ::switches::kDisableThreadedScrolling, | 95 ::switches::kDisableThreadedScrolling, |
| 97 ::switches::kDisableTouchDragDrop, | 96 ::switches::kDisableTouchDragDrop, |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 // Relaunch chrome without session manager on dev box. | 383 // Relaunch chrome without session manager on dev box. |
| 385 ReLaunch(command_line); | 384 ReLaunch(command_line); |
| 386 return; | 385 return; |
| 387 } | 386 } |
| 388 | 387 |
| 389 // ChromeRestartRequest deletes itself after request sent to session manager. | 388 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 390 (new ChromeRestartRequest(command_line))->Start(); | 389 (new ChromeRestartRequest(command_line))->Start(); |
| 391 } | 390 } |
| 392 | 391 |
| 393 } // namespace chromeos | 392 } // namespace chromeos |
| OLD | NEW |