Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Side by Side Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 164373012: Remove options to disable deadline scheduling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/android/content_startup_flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const base::DictionaryValue& new_switches, 64 const base::DictionaryValue& new_switches,
65 CommandLine* command_line) { 65 CommandLine* command_line) {
66 DCHECK_NE(&base_command_line, command_line); 66 DCHECK_NE(&base_command_line, command_line);
67 67
68 static const char* kForwardSwitches[] = { 68 static const char* kForwardSwitches[] = {
69 ::switches::kDisableAccelerated2dCanvas, 69 ::switches::kDisableAccelerated2dCanvas,
70 ::switches::kDisableAcceleratedOverflowScroll, 70 ::switches::kDisableAcceleratedOverflowScroll,
71 ::switches::kDisableAcceleratedPlugins, 71 ::switches::kDisableAcceleratedPlugins,
72 ::switches::kDisableAcceleratedVideoDecode, 72 ::switches::kDisableAcceleratedVideoDecode,
73 ::switches::kDisableBrowserPluginCompositing, 73 ::switches::kDisableBrowserPluginCompositing,
74 ::switches::kDisableDeadlineScheduling,
75 ::switches::kDisableDelegatedRenderer, 74 ::switches::kDisableDelegatedRenderer,
76 ::switches::kDisableFiltersOverIPC, 75 ::switches::kDisableFiltersOverIPC,
77 ::switches::kDisableForceCompositingMode, 76 ::switches::kDisableForceCompositingMode,
78 ::switches::kDisableGpuShaderDiskCache, 77 ::switches::kDisableGpuShaderDiskCache,
79 ::switches::kDisableGpuWatchdog, 78 ::switches::kDisableGpuWatchdog,
80 ::switches::kDisableGpuCompositing, 79 ::switches::kDisableGpuCompositing,
81 ::switches::kDisablePrefixedEncryptedMedia, 80 ::switches::kDisablePrefixedEncryptedMedia,
82 ::switches::kDisablePanelFitting, 81 ::switches::kDisablePanelFitting,
83 ::switches::kDisableRepaintAfterLayout, 82 ::switches::kDisableRepaintAfterLayout,
84 ::switches::kDisableSeccompFilterSandbox, 83 ::switches::kDisableSeccompFilterSandbox,
85 ::switches::kDisableSetuidSandbox, 84 ::switches::kDisableSetuidSandbox,
86 ::switches::kDisableThreadedCompositing, 85 ::switches::kDisableThreadedCompositing,
87 ::switches::kDisableTouchDragDrop, 86 ::switches::kDisableTouchDragDrop,
88 ::switches::kDisableTouchEditing, 87 ::switches::kDisableTouchEditing,
89 ::switches::kDisableUniversalAcceleratedOverflowScroll, 88 ::switches::kDisableUniversalAcceleratedOverflowScroll,
90 ::switches::kDisableUnprefixedMediaSource, 89 ::switches::kDisableUnprefixedMediaSource,
91 ::switches::kDisableWebKitMediaSource, 90 ::switches::kDisableWebKitMediaSource,
92 ::switches::kDisableAcceleratedFixedRootBackground, 91 ::switches::kDisableAcceleratedFixedRootBackground,
93 ::switches::kEnableAcceleratedFixedRootBackground, 92 ::switches::kEnableAcceleratedFixedRootBackground,
94 ::switches::kEnableAcceleratedOverflowScroll, 93 ::switches::kEnableAcceleratedOverflowScroll,
95 ::switches::kEnableBeginFrameScheduling, 94 ::switches::kEnableBeginFrameScheduling,
96 ::switches::kEnableCompositingForFixedPosition, 95 ::switches::kEnableCompositingForFixedPosition,
97 ::switches::kEnableDeadlineScheduling,
98 ::switches::kEnableDelegatedRenderer, 96 ::switches::kEnableDelegatedRenderer,
99 ::switches::kEnableEncryptedMedia, 97 ::switches::kEnableEncryptedMedia,
100 ::switches::kEnableGestureTapHighlight, 98 ::switches::kEnableGestureTapHighlight,
101 ::switches::kDisableGestureTapHighlight, 99 ::switches::kDisableGestureTapHighlight,
102 ::switches::kDisableGpuSandbox, 100 ::switches::kDisableGpuSandbox,
103 ::switches::kEnableDeferredFilters, 101 ::switches::kEnableDeferredFilters,
104 ::switches::kEnableLogging, 102 ::switches::kEnableLogging,
105 ::switches::kEnablePinch, 103 ::switches::kEnablePinch,
106 ::switches::kEnableRepaintAfterLayout, 104 ::switches::kEnableRepaintAfterLayout,
107 ::switches::kEnableThreadedCompositing, 105 ::switches::kEnableThreadedCompositing,
(...skipping 16 matching lines...) Expand all
124 ::switches::kRendererStartupDialog, 122 ::switches::kRendererStartupDialog,
125 ::switches::kEnableShareGroupAsyncTextureUpload, 123 ::switches::kEnableShareGroupAsyncTextureUpload,
126 ::switches::kTabCaptureUpscaleQuality, 124 ::switches::kTabCaptureUpscaleQuality,
127 ::switches::kTabCaptureDownscaleQuality, 125 ::switches::kTabCaptureDownscaleQuality,
128 #if defined(USE_XI2_MT) 126 #if defined(USE_XI2_MT)
129 ::switches::kTouchCalibration, 127 ::switches::kTouchCalibration,
130 #endif 128 #endif
131 ::switches::kTouchDevices, 129 ::switches::kTouchDevices,
132 ::switches::kTouchEvents, 130 ::switches::kTouchEvents,
133 ::switches::kTouchOptimizedUI, 131 ::switches::kTouchOptimizedUI,
134 ::switches::kUIDisableDeadlineScheduling,
135 ::switches::kUIDisableThreadedCompositing, 132 ::switches::kUIDisableThreadedCompositing,
136 ::switches::kUIEnableDeadlineScheduling,
137 ::switches::kUIPrioritizeInGpuProcess, 133 ::switches::kUIPrioritizeInGpuProcess,
138 #if defined(USE_CRAS) 134 #if defined(USE_CRAS)
139 ::switches::kUseCras, 135 ::switches::kUseCras,
140 #endif 136 #endif
141 ::switches::kUseDiscardableMemory, 137 ::switches::kUseDiscardableMemory,
142 ::switches::kUseGL, 138 ::switches::kUseGL,
143 ::switches::kUserDataDir, 139 ::switches::kUserDataDir,
144 ::switches::kV, 140 ::switches::kV,
145 ::switches::kVModule, 141 ::switches::kVModule,
146 ::switches::kWebGLCommandBufferSizeKb, 142 ::switches::kWebGLCommandBufferSizeKb,
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // Relaunch chrome without session manager on dev box. 365 // Relaunch chrome without session manager on dev box.
370 ReLaunch(command_line); 366 ReLaunch(command_line);
371 return; 367 return;
372 } 368 }
373 369
374 // ChromeRestartRequest deletes itself after request sent to session manager. 370 // ChromeRestartRequest deletes itself after request sent to session manager.
375 (new ChromeRestartRequest(command_line))->Start(); 371 (new ChromeRestartRequest(command_line))->Start();
376 } 372 }
377 373
378 } // namespace chromeos 374 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/android/content_startup_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698