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

Side by Side Diff: content/renderer/media/webrtc_audio_device_not_impl.cc

Issue 884873005: Remove deprecated (and unused) method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/renderer/media/webrtc_audio_device_not_impl.h ('k') | no next file » | 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 "content/renderer/media/webrtc_audio_device_not_impl.h" 5 #include "content/renderer/media/webrtc_audio_device_not_impl.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 WebRtcAudioDeviceNotImpl::WebRtcAudioDeviceNotImpl() 9 WebRtcAudioDeviceNotImpl::WebRtcAudioDeviceNotImpl()
10 : last_process_time_(base::TimeTicks::Now()) { 10 : last_process_time_(base::TimeTicks::Now()) {
11 } 11 }
12 12
13 int32_t WebRtcAudioDeviceNotImpl::ChangeUniqueId(const int32_t id) {
14 return 0;
15 }
16
17 int64_t WebRtcAudioDeviceNotImpl::TimeUntilNextProcess() { 13 int64_t WebRtcAudioDeviceNotImpl::TimeUntilNextProcess() {
18 const int64_t kMillisecondsBetweenProcessCalls = 5000; 14 const int64_t kMillisecondsBetweenProcessCalls = 5000;
19 base::TimeDelta delta_time = (base::TimeTicks::Now() - last_process_time_); 15 base::TimeDelta delta_time = (base::TimeTicks::Now() - last_process_time_);
20 return kMillisecondsBetweenProcessCalls - delta_time.InMilliseconds(); 16 return kMillisecondsBetweenProcessCalls - delta_time.InMilliseconds();
21 } 17 }
22 18
23 int32_t WebRtcAudioDeviceNotImpl::Process() { 19 int32_t WebRtcAudioDeviceNotImpl::Process() {
24 last_process_time_ = base::TimeTicks::Now(); 20 last_process_time_ = base::TimeTicks::Now();
25 return 0; 21 return 0;
26 } 22 }
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 265
270 bool WebRtcAudioDeviceNotImpl::BuiltInAECIsAvailable() const { 266 bool WebRtcAudioDeviceNotImpl::BuiltInAECIsAvailable() const {
271 return false; 267 return false;
272 } 268 }
273 269
274 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAEC(bool enable) { 270 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAEC(bool enable) {
275 return 0; 271 return 0;
276 } 272 }
277 273
278 } // namespace content 274 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_audio_device_not_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698