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

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

Issue 453063002: Only allow webrtc HW offload for H264 encode for extension process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add ifdef for WEBRTC Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/chrome_content_browser_client_extensions_part.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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 ::switches::kUserDataDir, 143 ::switches::kUserDataDir,
144 ::switches::kV, 144 ::switches::kV,
145 ::switches::kVModule, 145 ::switches::kVModule,
146 ::switches::kEnableWebGLDraftExtensions, 146 ::switches::kEnableWebGLDraftExtensions,
147 ::switches::kEnableWebGLImageChromium, 147 ::switches::kEnableWebGLImageChromium,
148 #if defined(ENABLE_WEBRTC) 148 #if defined(ENABLE_WEBRTC)
149 ::switches::kDisableAudioTrackProcessing, 149 ::switches::kDisableAudioTrackProcessing,
150 ::switches::kDisableWebRtcHWDecoding, 150 ::switches::kDisableWebRtcHWDecoding,
151 ::switches::kDisableWebRtcHWEncoding, 151 ::switches::kDisableWebRtcHWEncoding,
152 ::switches::kEnableWebRtcHWVp8Encoding, 152 ::switches::kEnableWebRtcHWVp8Encoding,
153 ::switches::kEnableWebRtcHWH264Encoding,
153 #endif 154 #endif
154 ::switches::kDisableVaapiAcceleratedVideoEncode, 155 ::switches::kDisableVaapiAcceleratedVideoEncode,
155 #if defined(USE_OZONE) 156 #if defined(USE_OZONE)
156 ::switches::kOzonePlatform, 157 ::switches::kOzonePlatform,
157 ::switches::kOzoneUseSurfaceless, 158 ::switches::kOzoneUseSurfaceless,
158 #endif 159 #endif
159 app_list::switches::kDisableSyncAppList, 160 app_list::switches::kDisableSyncAppList,
160 app_list::switches::kEnableSyncAppList, 161 app_list::switches::kEnableSyncAppList,
161 ash::switches::kAshDefaultWallpaperLarge, 162 ash::switches::kAshDefaultWallpaperLarge,
162 ash::switches::kAshDefaultWallpaperSmall, 163 ash::switches::kAshDefaultWallpaperSmall,
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // Relaunch chrome without session manager on dev box. 368 // Relaunch chrome without session manager on dev box.
368 ReLaunch(command_line); 369 ReLaunch(command_line);
369 return; 370 return;
370 } 371 }
371 372
372 // ChromeRestartRequest deletes itself after request sent to session manager. 373 // ChromeRestartRequest deletes itself after request sent to session manager.
373 (new ChromeRestartRequest(command_line))->Start(); 374 (new ChromeRestartRequest(command_line))->Start();
374 } 375 }
375 376
376 } // namespace chromeos 377 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698