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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 #endif | 123 #endif |
124 ::switches::kMainFrameResizesAreOrientationChanges, | 124 ::switches::kMainFrameResizesAreOrientationChanges, |
125 ::switches::kForceDeviceScaleFactor, | 125 ::switches::kForceDeviceScaleFactor, |
126 ::switches::kForceGpuRasterization, | 126 ::switches::kForceGpuRasterization, |
127 ::switches::kGpuRasterizationMSAASampleCount, | 127 ::switches::kGpuRasterizationMSAASampleCount, |
128 ::switches::kGpuStartupDialog, | 128 ::switches::kGpuStartupDialog, |
129 ::switches::kGpuSandboxAllowSysVShm, | 129 ::switches::kGpuSandboxAllowSysVShm, |
130 ::switches::kGpuSandboxFailuresFatal, | 130 ::switches::kGpuSandboxFailuresFatal, |
131 ::switches::kGpuSandboxStartEarly, | 131 ::switches::kGpuSandboxStartEarly, |
132 ::switches::kNoSandbox, | 132 ::switches::kNoSandbox, |
133 ::switches::kNumRasterThreads, | 133 ::switches::kNumWorkerThreads, |
134 ::switches::kPpapiFlashArgs, | 134 ::switches::kPpapiFlashArgs, |
135 ::switches::kPpapiFlashPath, | 135 ::switches::kPpapiFlashPath, |
136 ::switches::kPpapiFlashVersion, | 136 ::switches::kPpapiFlashVersion, |
137 ::switches::kPpapiInProcess, | 137 ::switches::kPpapiInProcess, |
138 ::switches::kRendererStartupDialog, | 138 ::switches::kRendererStartupDialog, |
139 ::switches::kRootLayerScrolls, | 139 ::switches::kRootLayerScrolls, |
140 ::switches::kEnableShareGroupAsyncTextureUpload, | 140 ::switches::kEnableShareGroupAsyncTextureUpload, |
141 ::switches::kTabCaptureUpscaleQuality, | 141 ::switches::kTabCaptureUpscaleQuality, |
142 ::switches::kTabCaptureDownscaleQuality, | 142 ::switches::kTabCaptureDownscaleQuality, |
143 #if defined(USE_X11) || defined(USE_OZONE) | 143 #if defined(USE_X11) || defined(USE_OZONE) |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 377 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 378 ReLaunch(command_line); |
379 return; | 379 return; |
380 } | 380 } |
381 | 381 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 382 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 383 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 384 } |
385 | 385 |
386 } // namespace chromeos | 386 } // namespace chromeos |
OLD | NEW |