OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
wuchengli
2015/04/21 08:46:41
For change description, nyan_big won't be 1920x108
| |
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" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
121 ::switches::kEnableViewportMeta, | 121 ::switches::kEnableViewportMeta, |
122 ::switches::kEnableZeroCopy, | 122 ::switches::kEnableZeroCopy, |
123 ::switches::kMainFrameResizesAreOrientationChanges, | 123 ::switches::kMainFrameResizesAreOrientationChanges, |
124 ::switches::kForceDeviceScaleFactor, | 124 ::switches::kForceDeviceScaleFactor, |
125 ::switches::kForceGpuRasterization, | 125 ::switches::kForceGpuRasterization, |
126 ::switches::kGpuRasterizationMSAASampleCount, | 126 ::switches::kGpuRasterizationMSAASampleCount, |
127 ::switches::kGpuStartupDialog, | 127 ::switches::kGpuStartupDialog, |
128 ::switches::kGpuSandboxAllowSysVShm, | 128 ::switches::kGpuSandboxAllowSysVShm, |
129 ::switches::kGpuSandboxFailuresFatal, | 129 ::switches::kGpuSandboxFailuresFatal, |
130 ::switches::kGpuSandboxStartEarly, | 130 ::switches::kGpuSandboxStartEarly, |
131 ::switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, | |
132 ::switches::kNoSandbox, | 131 ::switches::kNoSandbox, |
133 ::switches::kNumRasterThreads, | 132 ::switches::kNumRasterThreads, |
134 ::switches::kPpapiFlashArgs, | 133 ::switches::kPpapiFlashArgs, |
135 ::switches::kPpapiFlashPath, | 134 ::switches::kPpapiFlashPath, |
136 ::switches::kPpapiFlashVersion, | 135 ::switches::kPpapiFlashVersion, |
137 ::switches::kPpapiInProcess, | 136 ::switches::kPpapiInProcess, |
138 ::switches::kRendererStartupDialog, | 137 ::switches::kRendererStartupDialog, |
139 ::switches::kRootLayerScrolls, | 138 ::switches::kRootLayerScrolls, |
140 ::switches::kEnableShareGroupAsyncTextureUpload, | 139 ::switches::kEnableShareGroupAsyncTextureUpload, |
141 ::switches::kTabCaptureUpscaleQuality, | 140 ::switches::kTabCaptureUpscaleQuality, |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
377 // Relaunch chrome without session manager on dev box. | 376 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 377 ReLaunch(command_line); |
379 return; | 378 return; |
380 } | 379 } |
381 | 380 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 381 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 382 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 383 } |
385 | 384 |
386 } // namespace chromeos | 385 } // namespace chromeos |
OLD | NEW |