| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 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_MOJO_SERVICES_SERVICE_FACTORY_IMPL_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_SERVICE_FACTORY_IMPL_H_ |
| 6 #define MEDIA_MOJO_SERVICES_SERVICE_FACTORY_IMPL_H_ | 6 #define MEDIA_MOJO_SERVICES_SERVICE_FACTORY_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "media/mojo/interfaces/service_factory.mojom.h" | 11 #include "media/mojo/interfaces/service_factory.mojom.h" |
| 12 #include "media/mojo/services/mojo_cdm_service_context.h" | 12 #include "media/mojo/services/mojo_cdm_service_context.h" |
| 13 #include "mojo/public/cpp/bindings/strong_binding.h" | 13 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 14 #include "mojo/shell/public/cpp/connector.h" | 14 #include "services/shell/public/cpp/connector.h" |
| 15 #include "mojo/shell/public/cpp/message_loop_ref.h" | 15 #include "services/shell/public/cpp/message_loop_ref.h" |
| 16 | 16 |
| 17 namespace mojo { | 17 namespace mojo { |
| 18 class MessageLoopRef; | 18 class MessageLoopRef; |
| 19 namespace shell { | 19 namespace shell { |
| 20 namespace mojom { | 20 namespace mojom { |
| 21 class InterfaceProvider; | 21 class InterfaceProvider; |
| 22 } | 22 } |
| 23 } | 23 } |
| 24 } | 24 } |
| 25 | 25 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 scoped_refptr<MediaLog> media_log_; | 66 scoped_refptr<MediaLog> media_log_; |
| 67 std::unique_ptr<mojo::MessageLoopRef> parent_app_refcount_; | 67 std::unique_ptr<mojo::MessageLoopRef> parent_app_refcount_; |
| 68 MojoMediaClient* mojo_media_client_; | 68 MojoMediaClient* mojo_media_client_; |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(ServiceFactoryImpl); | 70 DISALLOW_COPY_AND_ASSIGN(ServiceFactoryImpl); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace media | 73 } // namespace media |
| 74 | 74 |
| 75 #endif // MEDIA_MOJO_SERVICES_SERVICE_FACTORY_IMPL_H_ | 75 #endif // MEDIA_MOJO_SERVICES_SERVICE_FACTORY_IMPL_H_ |
| OLD | NEW |