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

Side by Side Diff: components/test_runner/mock_web_audio_device.cc

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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 "content/shell/renderer/test_runner/mock_web_audio_device.h" 5 #include "components/test_runner/mock_web_audio_device.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate) 9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate)
10 : sample_rate_(sample_rate) {} 10 : sample_rate_(sample_rate) {}
11 11
12 MockWebAudioDevice::~MockWebAudioDevice() {} 12 MockWebAudioDevice::~MockWebAudioDevice() {}
13 13
14 void MockWebAudioDevice::start() {} 14 void MockWebAudioDevice::start() {}
15 15
16 void MockWebAudioDevice::stop() {} 16 void MockWebAudioDevice::stop() {}
17 17
18 double MockWebAudioDevice::sampleRate() { 18 double MockWebAudioDevice::sampleRate() {
19 return sample_rate_; 19 return sample_rate_;
20 } 20 }
21 21
22 } // namespace content 22 } // namespace content
OLDNEW
« no previous file with comments | « components/test_runner/mock_web_audio_device.h ('k') | components/test_runner/mock_web_media_stream_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698