| 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/base_switches.h" | 10 #include "base/base_switches.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 DCHECK_NE(&base_command_line, command_line); | 71 DCHECK_NE(&base_command_line, command_line); |
| 72 | 72 |
| 73 static const char* const kForwardSwitches[] = { | 73 static const char* const kForwardSwitches[] = { |
| 74 ::switches::kBlinkSettings, | 74 ::switches::kBlinkSettings, |
| 75 ::switches::kDisableAccelerated2dCanvas, | 75 ::switches::kDisableAccelerated2dCanvas, |
| 76 ::switches::kDisableAcceleratedJpegDecoding, | 76 ::switches::kDisableAcceleratedJpegDecoding, |
| 77 ::switches::kDisableAcceleratedMjpegDecode, | 77 ::switches::kDisableAcceleratedMjpegDecode, |
| 78 ::switches::kDisableAcceleratedVideoDecode, | 78 ::switches::kDisableAcceleratedVideoDecode, |
| 79 ::switches::kDisableBlinkFeatures, | 79 ::switches::kDisableBlinkFeatures, |
| 80 ::switches::kDisableCastStreamingHWEncoding, | 80 ::switches::kDisableCastStreamingHWEncoding, |
| 81 ::switches::kDisableCompositorAnimationTimelines, | |
| 82 ::switches::kDisableDistanceFieldText, | 81 ::switches::kDisableDistanceFieldText, |
| 83 ::switches::kDisableGpu, | 82 ::switches::kDisableGpu, |
| 84 ::switches::kDisableGpuMemoryBufferVideoFrames, | 83 ::switches::kDisableGpuMemoryBufferVideoFrames, |
| 85 ::switches::kDisableGpuShaderDiskCache, | 84 ::switches::kDisableGpuShaderDiskCache, |
| 86 ::switches::kDisableGpuWatchdog, | 85 ::switches::kDisableGpuWatchdog, |
| 87 ::switches::kDisableGpuCompositing, | 86 ::switches::kDisableGpuCompositing, |
| 88 ::switches::kDisableGpuRasterization, | 87 ::switches::kDisableGpuRasterization, |
| 89 ::switches::kDisableLowResTiling, | 88 ::switches::kDisableLowResTiling, |
| 90 ::switches::kDisableMediaSource, | 89 ::switches::kDisableMediaSource, |
| 91 ::switches::kDisablePreferCompositingToLCDText, | 90 ::switches::kDisablePreferCompositingToLCDText, |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 // Relaunch chrome without session manager on dev box. | 353 // Relaunch chrome without session manager on dev box. |
| 355 ReLaunch(command_line); | 354 ReLaunch(command_line); |
| 356 return; | 355 return; |
| 357 } | 356 } |
| 358 | 357 |
| 359 // ChromeRestartRequest deletes itself after request sent to session manager. | 358 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 360 (new ChromeRestartRequest(command_line.argv()))->Start(); | 359 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 361 } | 360 } |
| 362 | 361 |
| 363 } // namespace chromeos | 362 } // namespace chromeos |
| OLD | NEW |