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

Side by Side Diff: media/base/fake_output_device.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « media/base/fake_demuxer_stream.h ('k') | media/base/fake_text_track_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_ 5 #ifndef MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
6 #define MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_ 6 #define MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "media/base/output_device.h" 11 #include "media/base/output_device.h"
11 12
12 namespace media { 13 namespace media {
13 14
14 class FakeOutputDevice : public OutputDevice { 15 class FakeOutputDevice : public OutputDevice {
15 public: 16 public:
16 FakeOutputDevice(); 17 FakeOutputDevice();
17 explicit FakeOutputDevice(OutputDeviceStatus status); 18 explicit FakeOutputDevice(OutputDeviceStatus status);
18 ~FakeOutputDevice() override; 19 ~FakeOutputDevice() override;
19 20
20 // OutputDevice implementation. 21 // OutputDevice implementation.
21 void SwitchOutputDevice(const std::string& device_id, 22 void SwitchOutputDevice(const std::string& device_id,
22 const url::Origin& security_origin, 23 const url::Origin& security_origin,
23 const SwitchOutputDeviceCB& callback) override; 24 const SwitchOutputDeviceCB& callback) override;
24 AudioParameters GetOutputParameters() override; 25 AudioParameters GetOutputParameters() override;
25 OutputDeviceStatus GetDeviceStatus() override; 26 OutputDeviceStatus GetDeviceStatus() override;
26 27
27 private: 28 private:
28 OutputDeviceStatus device_status_; 29 OutputDeviceStatus device_status_;
29 DISALLOW_COPY_AND_ASSIGN(FakeOutputDevice); 30 DISALLOW_COPY_AND_ASSIGN(FakeOutputDevice);
30 }; 31 };
31 32
32 } // namespace media 33 } // namespace media
33 34
34 #endif // MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_ 35 #endif // MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
OLDNEW
« no previous file with comments | « media/base/fake_demuxer_stream.h ('k') | media/base/fake_text_track_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698