Revert of Sandbox html_viewer on Linux. (patchset #6 id:100001 of https://codereview...
[chromium-blink-merge.git] / media / audio / fake_audio_log_factory.h
blob704fcc2ce04ca4972cf91d82309ee8a4dedb79d3
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
3 // found in the LICENSE file.
5 #ifndef MEDIA_AUDIO_FAKE_AUDIO_LOG_FACTORY_H_
6 #define MEDIA_AUDIO_FAKE_AUDIO_LOG_FACTORY_H_
8 #include "base/compiler_specific.h"
9 #include "media/audio/audio_logging.h"
10 #include "media/base/media_export.h"
12 namespace media {
14 // Creates stub AudioLog instances, for testing, which do nothing.
15 class MEDIA_EXPORT FakeAudioLogFactory
16 : NON_EXPORTED_BASE(public AudioLogFactory) {
17 public:
18 FakeAudioLogFactory();
19 ~FakeAudioLogFactory() override;
20 scoped_ptr<AudioLog> CreateAudioLog(AudioComponent component) override;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(FakeAudioLogFactory);
26 } // namespace media
28 #endif // MEDIA_AUDIO_FAKE_AUDIO_LOG_FACTORY_H_