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

Side by Side Diff: webkit/support/web_audio_device_mock.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_ 5 #ifndef WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
6 #define WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_ 6 #define WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebAudioDevi ce.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebAudioDevi ce.h"
9 9
10 class WebAudioDeviceMock : public WebKit::WebAudioDevice { 10 class WebAudioDeviceMock : public WebKit::WebAudioDevice {
11 public: 11 public:
12 WebAudioDeviceMock(double sampleRate); 12 explicit WebAudioDeviceMock(double sampleRate);
13 virtual ~WebAudioDeviceMock() { } 13 virtual ~WebAudioDeviceMock() { }
14 14
15 virtual void start() { } 15 virtual void start() { }
16 virtual void stop() { } 16 virtual void stop() { }
17 virtual double sampleRate(); 17 virtual double sampleRate();
18 18
19 private: 19 private:
20 double sample_rate_; 20 double sample_rate_;
21 }; 21 };
22 22
23 #endif // WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_ 23 #endif // WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
OLDNEW
« no previous file with comments | « webkit/media/webvideoframe_impl.h ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698