OLD | NEW |
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 #ifndef COMPONENTS_COPRESENCE_HANDLERS_AUDIO_AUDIO_DIRECTIVE_LIST_H_ | 5 #ifndef COMPONENTS_COPRESENCE_HANDLERS_AUDIO_AUDIO_DIRECTIVE_LIST_H_ |
6 #define COMPONENTS_COPRESENCE_HANDLERS_AUDIO_AUDIO_DIRECTIVE_LIST_H_ | 6 #define COMPONENTS_COPRESENCE_HANDLERS_AUDIO_AUDIO_DIRECTIVE_LIST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/time/default_tick_clock.h" | 15 #include "base/time/default_tick_clock.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "components/copresence/handlers/audio/tick_clock_ref_counted.h" | 17 #include "components/copresence/handlers/audio/tick_clock_ref_counted.h" |
17 #include "components/copresence/proto/data.pb.h" | 18 #include "components/copresence/proto/data.pb.h" |
18 | 19 |
19 namespace media { | 20 namespace media { |
20 class AudioBusRefCounted; | 21 class AudioBusRefCounted; |
21 } | 22 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 std::vector<AudioDirective> active_directives_; | 79 std::vector<AudioDirective> active_directives_; |
79 | 80 |
80 scoped_refptr<TickClockRefCounted> clock_; | 81 scoped_refptr<TickClockRefCounted> clock_; |
81 | 82 |
82 DISALLOW_COPY_AND_ASSIGN(AudioDirectiveList); | 83 DISALLOW_COPY_AND_ASSIGN(AudioDirectiveList); |
83 }; | 84 }; |
84 | 85 |
85 } // namespace copresence | 86 } // namespace copresence |
86 | 87 |
87 #endif // COMPONENTS_COPRESENCE_HANDLERS_AUDIO_AUDIO_DIRECTIVE_LIST_H_ | 88 #endif // COMPONENTS_COPRESENCE_HANDLERS_AUDIO_AUDIO_DIRECTIVE_LIST_H_ |
OLD | NEW |