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 "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 ::switches::kDisableAcceleratedJpegDecoding, | 76 ::switches::kDisableAcceleratedJpegDecoding, |
77 ::switches::kDisableAcceleratedVideoDecode, | 77 ::switches::kDisableAcceleratedVideoDecode, |
78 ::switches::kDisableCastStreamingHWEncoding, | 78 ::switches::kDisableCastStreamingHWEncoding, |
79 ::switches::kDisableDelegatedRenderer, | 79 ::switches::kDisableDelegatedRenderer, |
80 ::switches::kDisableDistanceFieldText, | 80 ::switches::kDisableDistanceFieldText, |
81 ::switches::kDisableGpu, | 81 ::switches::kDisableGpu, |
82 ::switches::kDisableGpuShaderDiskCache, | 82 ::switches::kDisableGpuShaderDiskCache, |
83 ::switches::kDisableGpuWatchdog, | 83 ::switches::kDisableGpuWatchdog, |
84 ::switches::kDisableGpuCompositing, | 84 ::switches::kDisableGpuCompositing, |
85 ::switches::kDisableGpuRasterization, | 85 ::switches::kDisableGpuRasterization, |
86 ::switches::kDisableImplSidePainting, | 86 ::switches::kDisableImplSidePainting, |
sky
2015/01/09 20:52:41
Should this be removed too?
danakj
2015/01/09 21:40:38
We're leaving this around for now.. for developers
| |
87 ::switches::kDisableLowResTiling, | 87 ::switches::kDisableLowResTiling, |
88 ::switches::kDisableMediaSource, | 88 ::switches::kDisableMediaSource, |
89 ::switches::kDisableOneCopy, | 89 ::switches::kDisableOneCopy, |
90 ::switches::kDisablePreferCompositingToLCDText, | 90 ::switches::kDisablePreferCompositingToLCDText, |
91 ::switches::kDisablePrefixedEncryptedMedia, | 91 ::switches::kDisablePrefixedEncryptedMedia, |
92 ::switches::kDisablePanelFitting, | 92 ::switches::kDisablePanelFitting, |
93 ::switches::kDisableSeccompFilterSandbox, | 93 ::switches::kDisableSeccompFilterSandbox, |
94 ::switches::kDisableSetuidSandbox, | 94 ::switches::kDisableSetuidSandbox, |
95 ::switches::kDisableSurfaces, | 95 ::switches::kDisableSurfaces, |
96 ::switches::kDisableTextBlobs, | 96 ::switches::kDisableTextBlobs, |
97 ::switches::kDisableThreadedScrolling, | 97 ::switches::kDisableThreadedScrolling, |
98 ::switches::kDisableTouchDragDrop, | 98 ::switches::kDisableTouchDragDrop, |
99 ::switches::kDisableTouchEditing, | 99 ::switches::kDisableTouchEditing, |
100 ::switches::kEnableBeginFrameScheduling, | 100 ::switches::kEnableBeginFrameScheduling, |
101 ::switches::kEnablePreferCompositingToLCDText, | 101 ::switches::kEnablePreferCompositingToLCDText, |
102 ::switches::kEnableDelegatedRenderer, | 102 ::switches::kEnableDelegatedRenderer, |
103 ::switches::kDisableDisplayList2dCanvas, | 103 ::switches::kDisableDisplayList2dCanvas, |
104 ::switches::kEnableDisplayList2dCanvas, | 104 ::switches::kEnableDisplayList2dCanvas, |
105 ::switches::kForceDisplayList2dCanvas, | 105 ::switches::kForceDisplayList2dCanvas, |
106 ::switches::kEnableEncryptedMedia, | 106 ::switches::kEnableEncryptedMedia, |
107 ::switches::kDisableGpuSandbox, | 107 ::switches::kDisableGpuSandbox, |
108 ::switches::kEnableDistanceFieldText, | 108 ::switches::kEnableDistanceFieldText, |
109 ::switches::kEnableGpuRasterization, | 109 ::switches::kEnableGpuRasterization, |
110 ::switches::kEnableImageColorProfiles, | 110 ::switches::kEnableImageColorProfiles, |
111 ::switches::kEnableImplSidePainting, | |
112 ::switches::kEnableLogging, | 111 ::switches::kEnableLogging, |
113 ::switches::kEnableLowResTiling, | 112 ::switches::kEnableLowResTiling, |
114 ::switches::kEnableOneCopy, | 113 ::switches::kEnableOneCopy, |
115 ::switches::kEnablePinch, | 114 ::switches::kEnablePinch, |
116 ::switches::kEnablePluginPlaceholderShadowDom, | 115 ::switches::kEnablePluginPlaceholderShadowDom, |
117 ::switches::kEnableSlimmingPaint, | 116 ::switches::kEnableSlimmingPaint, |
118 ::switches::kEnableTouchDragDrop, | 117 ::switches::kEnableTouchDragDrop, |
119 ::switches::kEnableTouchEditing, | 118 ::switches::kEnableTouchEditing, |
120 ::switches::kEnableViewport, | 119 ::switches::kEnableViewport, |
121 ::switches::kEnableViewportMeta, | 120 ::switches::kEnableViewportMeta, |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
381 // Relaunch chrome without session manager on dev box. | 380 // Relaunch chrome without session manager on dev box. |
382 ReLaunch(command_line); | 381 ReLaunch(command_line); |
383 return; | 382 return; |
384 } | 383 } |
385 | 384 |
386 // ChromeRestartRequest deletes itself after request sent to session manager. | 385 // ChromeRestartRequest deletes itself after request sent to session manager. |
387 (new ChromeRestartRequest(command_line))->Start(); | 386 (new ChromeRestartRequest(command_line))->Start(); |
388 } | 387 } |
389 | 388 |
390 } // namespace chromeos | 389 } // namespace chromeos |
OLD | NEW |