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

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

Issue 829803003: Adding Chrome-side WebVR interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to use Mojo as requested by eng review Created 5 years, 6 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/command_line.h" 10 #include "base/command_line.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 #if defined(USE_CRAS) 152 #if defined(USE_CRAS)
153 ::switches::kUseCras, 153 ::switches::kUseCras,
154 #endif 154 #endif
155 ::switches::kUseGL, 155 ::switches::kUseGL,
156 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, 156 ::switches::kUseNormalPriorityForTileTaskWorkerThreads,
157 ::switches::kUserDataDir, 157 ::switches::kUserDataDir,
158 ::switches::kV, 158 ::switches::kV,
159 ::switches::kVModule, 159 ::switches::kVModule,
160 ::switches::kEnableWebGLDraftExtensions, 160 ::switches::kEnableWebGLDraftExtensions,
161 ::switches::kEnableWebGLImageChromium, 161 ::switches::kEnableWebGLImageChromium,
162 ::switches::kEnableWebVR,
162 #if defined(ENABLE_WEBRTC) 163 #if defined(ENABLE_WEBRTC)
163 ::switches::kDisableWebRtcHWDecoding, 164 ::switches::kDisableWebRtcHWDecoding,
164 ::switches::kDisableWebRtcHWEncoding, 165 ::switches::kDisableWebRtcHWEncoding,
165 ::switches::kEnableWebRtcHWH264Encoding, 166 ::switches::kEnableWebRtcHWH264Encoding,
166 #endif 167 #endif
167 ::switches::kDisableVaapiAcceleratedVideoEncode, 168 ::switches::kDisableVaapiAcceleratedVideoEncode,
168 #if defined(USE_OZONE) 169 #if defined(USE_OZONE)
169 ::switches::kOzoneInitialDisplayBounds, 170 ::switches::kOzoneInitialDisplayBounds,
170 ::switches::kOzoneInitialDisplayPhysicalSizeMm, 171 ::switches::kOzoneInitialDisplayPhysicalSizeMm,
171 ::switches::kOzonePlatform, 172 ::switches::kOzonePlatform,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // Relaunch chrome without session manager on dev box. 379 // Relaunch chrome without session manager on dev box.
379 ReLaunch(command_line); 380 ReLaunch(command_line);
380 return; 381 return;
381 } 382 }
382 383
383 // ChromeRestartRequest deletes itself after request sent to session manager. 384 // ChromeRestartRequest deletes itself after request sent to session manager.
384 (new ChromeRestartRequest(command_line))->Start(); 385 (new ChromeRestartRequest(command_line))->Start();
385 } 386 }
386 387
387 } // namespace chromeos 388 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698