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_HTML_VIEWER_MEDIA_FACTORY_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_MEDIA_FACTORY_H_ |
6 #define COMPONENTS_HTML_VIEWER_MEDIA_FACTORY_H_ | 6 #define COMPONENTS_HTML_VIEWER_MEDIA_FACTORY_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/linked_ptr.h" | 9 #include "base/memory/linked_ptr.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 13 #include "build/build_config.h" |
13 #include "media/audio/fake_audio_log_factory.h" | 14 #include "media/audio/fake_audio_log_factory.h" |
14 #include "media/base/audio_hardware_config.h" | 15 #include "media/base/audio_hardware_config.h" |
15 #include "media/blink/url_index.h" | 16 #include "media/blink/url_index.h" |
16 #include "media/mojo/interfaces/service_factory.mojom.h" | 17 #include "media/mojo/interfaces/service_factory.mojom.h" |
17 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 18 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
18 | 19 |
19 namespace base { | 20 namespace base { |
20 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
21 } | 22 } |
22 | 23 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 95 |
95 // Media resource cache, lazily initialized. | 96 // Media resource cache, lazily initialized. |
96 linked_ptr<media::UrlIndex> url_index_; | 97 linked_ptr<media::UrlIndex> url_index_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(MediaFactory); | 99 DISALLOW_COPY_AND_ASSIGN(MediaFactory); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace html_viewer | 102 } // namespace html_viewer |
102 | 103 |
103 #endif // COMPONENTS_HTML_VIEWER_MEDIA_FACTORY_H_ | 104 #endif // COMPONENTS_HTML_VIEWER_MEDIA_FACTORY_H_ |
OLD | NEW |