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

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

Issue 671793004: Clean up the media stream audio track code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 ::switches::kUseCras, 142 ::switches::kUseCras,
143 #endif 143 #endif
144 ::switches::kUseDiscardableMemory, 144 ::switches::kUseDiscardableMemory,
145 ::switches::kUseGL, 145 ::switches::kUseGL,
146 ::switches::kUserDataDir, 146 ::switches::kUserDataDir,
147 ::switches::kV, 147 ::switches::kV,
148 ::switches::kVModule, 148 ::switches::kVModule,
149 ::switches::kEnableWebGLDraftExtensions, 149 ::switches::kEnableWebGLDraftExtensions,
150 ::switches::kEnableWebGLImageChromium, 150 ::switches::kEnableWebGLImageChromium,
151 #if defined(ENABLE_WEBRTC) 151 #if defined(ENABLE_WEBRTC)
152 ::switches::kDisableAudioTrackProcessing,
153 ::switches::kDisableWebRtcHWDecoding, 152 ::switches::kDisableWebRtcHWDecoding,
154 ::switches::kDisableWebRtcHWEncoding, 153 ::switches::kDisableWebRtcHWEncoding,
155 ::switches::kEnableWebRtcHWVp8Encoding, 154 ::switches::kEnableWebRtcHWVp8Encoding,
156 ::switches::kEnableWebRtcHWH264Encoding, 155 ::switches::kEnableWebRtcHWH264Encoding,
157 #endif 156 #endif
158 ::switches::kDisableVaapiAcceleratedVideoEncode, 157 ::switches::kDisableVaapiAcceleratedVideoEncode,
159 #if defined(USE_OZONE) 158 #if defined(USE_OZONE)
160 ::switches::kOzonePlatform, 159 ::switches::kOzonePlatform,
161 ::switches::kOzoneUseSurfaceless, 160 ::switches::kOzoneUseSurfaceless,
162 #endif 161 #endif
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 // Relaunch chrome without session manager on dev box. 369 // Relaunch chrome without session manager on dev box.
371 ReLaunch(command_line); 370 ReLaunch(command_line);
372 return; 371 return;
373 } 372 }
374 373
375 // ChromeRestartRequest deletes itself after request sent to session manager. 374 // ChromeRestartRequest deletes itself after request sent to session manager.
376 (new ChromeRestartRequest(command_line))->Start(); 375 (new ChromeRestartRequest(command_line))->Start();
377 } 376 }
378 377
379 } // namespace chromeos 378 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698