| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 ::switches::kEnableViewport, | 122 ::switches::kEnableViewport, |
| 123 ::switches::kEnableViewportMeta, | 123 ::switches::kEnableViewportMeta, |
| 124 ::switches::kEnableZeroCopy, | 124 ::switches::kEnableZeroCopy, |
| 125 ::switches::kMainFrameResizesAreOrientationChanges, | 125 ::switches::kMainFrameResizesAreOrientationChanges, |
| 126 ::switches::kForceDeviceScaleFactor, | 126 ::switches::kForceDeviceScaleFactor, |
| 127 ::switches::kForceGpuRasterization, | 127 ::switches::kForceGpuRasterization, |
| 128 ::switches::kGpuStartupDialog, | 128 ::switches::kGpuStartupDialog, |
| 129 ::switches::kGpuSandboxAllowSysVShm, | 129 ::switches::kGpuSandboxAllowSysVShm, |
| 130 ::switches::kGpuSandboxFailuresFatal, | 130 ::switches::kGpuSandboxFailuresFatal, |
| 131 ::switches::kGpuSandboxStartAfterInitialization, | 131 ::switches::kGpuSandboxStartAfterInitialization, |
| 132 ::switches::kMultiProfiles, | |
| 133 ::switches::kNoSandbox, | 132 ::switches::kNoSandbox, |
| 134 ::switches::kNumRasterThreads, | 133 ::switches::kNumRasterThreads, |
| 135 ::switches::kPpapiFlashArgs, | 134 ::switches::kPpapiFlashArgs, |
| 136 ::switches::kPpapiFlashPath, | 135 ::switches::kPpapiFlashPath, |
| 137 ::switches::kPpapiFlashVersion, | 136 ::switches::kPpapiFlashVersion, |
| 138 ::switches::kPpapiInProcess, | 137 ::switches::kPpapiInProcess, |
| 139 ::switches::kRendererStartupDialog, | 138 ::switches::kRendererStartupDialog, |
| 140 ::switches::kEnableShareGroupAsyncTextureUpload, | 139 ::switches::kEnableShareGroupAsyncTextureUpload, |
| 141 ::switches::kTabCaptureUpscaleQuality, | 140 ::switches::kTabCaptureUpscaleQuality, |
| 142 ::switches::kTabCaptureDownscaleQuality, | 141 ::switches::kTabCaptureDownscaleQuality, |
| (...skipping 235 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 |