Index: content/shell/renderer/test_runner/mock_web_audio_device.h |
diff --git a/content/shell/renderer/test_runner/MockWebAudioDevice.h b/content/shell/renderer/test_runner/mock_web_audio_device.h |
similarity index 36% |
rename from content/shell/renderer/test_runner/MockWebAudioDevice.h |
rename to content/shell/renderer/test_runner/mock_web_audio_device.h |
index a18fa6d22100920db981f1a8f90fe65f5b4be5f7..91b849bd64714e3b372c19189e86e32f48594079 100644 |
--- a/content/shell/renderer/test_runner/MockWebAudioDevice.h |
+++ b/content/shell/renderer/test_runner/mock_web_audio_device.h |
@@ -2,30 +2,30 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBAUDIODEVICE_H_ |
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBAUDIODEVICE_H_ |
+#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_AUDIO_DEVICE_H_ |
+#define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_AUDIO_DEVICE_H_ |
-#include "base/basictypes.h" |
-#include "content/shell/renderer/test_runner/TestCommon.h" |
+#include "base/macros.h" |
#include "third_party/WebKit/public/platform/WebAudioDevice.h" |
namespace content { |
class MockWebAudioDevice : public blink::WebAudioDevice { |
-public: |
- explicit MockWebAudioDevice(double sampleRate); |
- virtual ~MockWebAudioDevice(); |
+ public: |
+ explicit MockWebAudioDevice(double sample_rate); |
+ virtual ~MockWebAudioDevice(); |
- virtual void start(); |
- virtual void stop(); |
- virtual double sampleRate(); |
+ // blink::WebAudioDevice: |
+ virtual void start(); |
+ virtual void stop(); |
+ virtual double sampleRate(); |
-private: |
- double m_sampleRate; |
+ private: |
+ double sample_rate_; |
- DISALLOW_COPY_AND_ASSIGN(MockWebAudioDevice); |
+ DISALLOW_COPY_AND_ASSIGN(MockWebAudioDevice); |
}; |
-} // namespace content |
+} // namespace content |
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBAUDIODEVICE_H_ |
+#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_AUDIO_DEVICE_H_ |