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/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ::switches::kGpuStartupDialog, | 131 ::switches::kGpuStartupDialog, |
132 ::switches::kGpuSandboxAllowSysVShm, | 132 ::switches::kGpuSandboxAllowSysVShm, |
133 ::switches::kGpuSandboxFailuresFatal, | 133 ::switches::kGpuSandboxFailuresFatal, |
134 ::switches::kGpuSandboxStartEarly, | 134 ::switches::kGpuSandboxStartEarly, |
135 ::switches::kNoSandbox, | 135 ::switches::kNoSandbox, |
136 ::switches::kNumRasterThreads, | 136 ::switches::kNumRasterThreads, |
137 ::switches::kPpapiFlashArgs, | 137 ::switches::kPpapiFlashArgs, |
138 ::switches::kPpapiFlashPath, | 138 ::switches::kPpapiFlashPath, |
139 ::switches::kPpapiFlashVersion, | 139 ::switches::kPpapiFlashVersion, |
140 ::switches::kPpapiInProcess, | 140 ::switches::kPpapiInProcess, |
141 ::switches::kRemoteDebuggingPort, | |
142 ::switches::kRendererStartupDialog, | 141 ::switches::kRendererStartupDialog, |
143 ::switches::kRootLayerScrolls, | 142 ::switches::kRootLayerScrolls, |
144 ::switches::kEnableShareGroupAsyncTextureUpload, | 143 ::switches::kEnableShareGroupAsyncTextureUpload, |
145 #if defined(USE_X11) || defined(USE_OZONE) | 144 #if defined(USE_X11) || defined(USE_OZONE) |
146 ::switches::kTouchCalibration, | 145 ::switches::kTouchCalibration, |
147 #endif | 146 #endif |
148 ::switches::kTouchDevices, | 147 ::switches::kTouchDevices, |
149 ::switches::kTouchEvents, | 148 ::switches::kTouchEvents, |
150 ::switches::kTopChromeMD, | 149 ::switches::kTopChromeMD, |
151 ::switches::kTraceToConsole, | 150 ::switches::kTraceToConsole, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 // Relaunch chrome without session manager on dev box. | 358 // Relaunch chrome without session manager on dev box. |
360 ReLaunch(command_line); | 359 ReLaunch(command_line); |
361 return; | 360 return; |
362 } | 361 } |
363 | 362 |
364 // ChromeRestartRequest deletes itself after request sent to session manager. | 363 // ChromeRestartRequest deletes itself after request sent to session manager. |
365 (new ChromeRestartRequest(command_line.argv()))->Start(); | 364 (new ChromeRestartRequest(command_line.argv()))->Start(); |
366 } | 365 } |
367 | 366 |
368 } // namespace chromeos | 367 } // namespace chromeos |
OLD | NEW |