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

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

Issue 1636083003: H264 HW encode using VideoToolbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: miu@ comments. Created 4 years, 9 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 ::switches::kVModule, 160 ::switches::kVModule,
161 ::switches::kEnableWebGLDraftExtensions, 161 ::switches::kEnableWebGLDraftExtensions,
162 ::switches::kEnableWebGLImageChromium, 162 ::switches::kEnableWebGLImageChromium,
163 ::switches::kEnableWebVR, 163 ::switches::kEnableWebVR,
164 #if defined(ENABLE_WEBRTC) 164 #if defined(ENABLE_WEBRTC)
165 ::switches::kDisableWebRtcHWDecoding, 165 ::switches::kDisableWebRtcHWDecoding,
166 ::switches::kDisableWebRtcHWEncoding, 166 ::switches::kDisableWebRtcHWEncoding,
167 ::switches::kEnableWebRtcHWH264Encoding, 167 ::switches::kEnableWebRtcHWH264Encoding,
168 #endif 168 #endif
169 ::switches::kDisableVaapiAcceleratedVideoEncode, 169 ::switches::kDisableVaapiAcceleratedVideoEncode,
170 #if defined(OS_MACOSX)
171 ::switches::kDisableVTAcceleratedVideoEncode,
172 #endif
170 #if defined(USE_OZONE) 173 #if defined(USE_OZONE)
171 ::switches::kOzoneInitialDisplayBounds, 174 ::switches::kOzoneInitialDisplayBounds,
172 ::switches::kOzoneInitialDisplayPhysicalSizeMm, 175 ::switches::kOzoneInitialDisplayPhysicalSizeMm,
173 ::switches::kOzonePlatform, 176 ::switches::kOzonePlatform,
174 #endif 177 #endif
175 app_list::switches::kDisableSyncAppList, 178 app_list::switches::kDisableSyncAppList,
176 app_list::switches::kEnableCenteredAppList, 179 app_list::switches::kEnableCenteredAppList,
177 app_list::switches::kEnableSyncAppList, 180 app_list::switches::kEnableSyncAppList,
178 ash::switches::kAshEnableTouchView, 181 ash::switches::kAshEnableTouchView,
179 ash::switches::kAshEnableUnifiedDesktop, 182 ash::switches::kAshEnableUnifiedDesktop,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 // Relaunch chrome without session manager on dev box. 357 // Relaunch chrome without session manager on dev box.
355 ReLaunch(command_line); 358 ReLaunch(command_line);
356 return; 359 return;
357 } 360 }
358 361
359 // ChromeRestartRequest deletes itself after request sent to session manager. 362 // ChromeRestartRequest deletes itself after request sent to session manager.
360 (new ChromeRestartRequest(command_line.argv()))->Start(); 363 (new ChromeRestartRequest(command_line.argv()))->Start();
361 } 364 }
362 365
363 } // namespace chromeos 366 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698