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

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

Issue 1616953003: content: Improve thread priority for raster threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
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/base_switches.h" 10 #include "base/base_switches.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 ::switches::kTopChromeMD, 149 ::switches::kTopChromeMD,
150 #endif 150 #endif
151 ::switches::kTraceToConsole, 151 ::switches::kTraceToConsole,
152 ::switches::kUIDisableCompositorAnimationTimelines, 152 ::switches::kUIDisableCompositorAnimationTimelines,
153 ::switches::kUIDisablePartialSwap, 153 ::switches::kUIDisablePartialSwap,
154 ::switches::kUIPrioritizeInGpuProcess, 154 ::switches::kUIPrioritizeInGpuProcess,
155 #if defined(USE_CRAS) 155 #if defined(USE_CRAS)
156 ::switches::kUseCras, 156 ::switches::kUseCras,
157 #endif 157 #endif
158 ::switches::kUseGL, 158 ::switches::kUseGL,
159 ::switches::kUseNormalPriorityForTileTaskWorkerThreads,
160 ::switches::kUserDataDir, 159 ::switches::kUserDataDir,
161 ::switches::kV, 160 ::switches::kV,
162 ::switches::kVModule, 161 ::switches::kVModule,
163 ::switches::kEnableWebGLDraftExtensions, 162 ::switches::kEnableWebGLDraftExtensions,
164 ::switches::kEnableWebGLImageChromium, 163 ::switches::kEnableWebGLImageChromium,
165 ::switches::kEnableWebVR, 164 ::switches::kEnableWebVR,
166 #if defined(ENABLE_WEBRTC) 165 #if defined(ENABLE_WEBRTC)
167 ::switches::kDisableWebRtcHWDecoding, 166 ::switches::kDisableWebRtcHWDecoding,
168 ::switches::kDisableWebRtcHWEncoding, 167 ::switches::kDisableWebRtcHWEncoding,
169 ::switches::kEnableWebRtcHWH264Encoding, 168 ::switches::kEnableWebRtcHWH264Encoding,
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // Relaunch chrome without session manager on dev box. 357 // Relaunch chrome without session manager on dev box.
359 ReLaunch(command_line); 358 ReLaunch(command_line);
360 return; 359 return;
361 } 360 }
362 361
363 // ChromeRestartRequest deletes itself after request sent to session manager. 362 // ChromeRestartRequest deletes itself after request sent to session manager.
364 (new ChromeRestartRequest(command_line.argv()))->Start(); 363 (new ChromeRestartRequest(command_line.argv()))->Start();
365 } 364 }
366 365
367 } // namespace chromeos 366 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698