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

Side by Side Diff: content/shell/test_runner/mock_web_audio_device.cc

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/test_runner/mock_web_audio_device.h" 5 #include "content/shell/test_runner/mock_web_audio_device.h"
6 6
7 namespace test_runner { 7 namespace test_runner {
8 8
9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate, 9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate,
10 int frames_per_buffer) 10 int frames_per_buffer)
11 : sample_rate_(sample_rate), frames_per_buffer_(frames_per_buffer) {} 11 : sample_rate_(sample_rate), frames_per_buffer_(frames_per_buffer) {}
12 12
13 MockWebAudioDevice::~MockWebAudioDevice() {} 13 MockWebAudioDevice::~MockWebAudioDevice() {}
14 14
15 void MockWebAudioDevice::start() {} 15 void MockWebAudioDevice::start() {}
16 16
17 void MockWebAudioDevice::stop() {} 17 void MockWebAudioDevice::stop() {}
18 18
19 double MockWebAudioDevice::sampleRate() { 19 double MockWebAudioDevice::sampleRate() {
20 return sample_rate_; 20 return sample_rate_;
21 } 21 }
22 22
23 int MockWebAudioDevice::framesPerBuffer() { 23 int MockWebAudioDevice::framesPerBuffer() {
24 return frames_per_buffer_; 24 return frames_per_buffer_;
25 } 25 }
26 26
27 } // namespace test_runner 27 } // namespace test_runner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698