| 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 #include "base/memory/ref_counted.h" | 5 #include "base/memory/ref_counted.h" |
| 6 #include "media/mojo/interfaces/service_factory.mojom.h" | 6 #include "media/mojo/interfaces/service_factory.mojom.h" |
| 7 #include "mojo/application/public/cpp/application_delegate.h" | 7 #include "mojo/application/public/cpp/application_delegate.h" |
| 8 #include "mojo/application/public/cpp/interface_factory_impl.h" | 8 #include "mojo/application/public/cpp/interface_factory_impl.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 private: | 25 private: |
| 26 // mojo::ApplicationDelegate implementation. | 26 // mojo::ApplicationDelegate implementation. |
| 27 void Initialize(mojo::ApplicationImpl* app) final; | 27 void Initialize(mojo::ApplicationImpl* app) final; |
| 28 bool ConfigureIncomingConnection( | 28 bool ConfigureIncomingConnection( |
| 29 mojo::ApplicationConnection* connection) final; | 29 mojo::ApplicationConnection* connection) final; |
| 30 | 30 |
| 31 // mojo::InterfaceFactory<interfaces::ServiceFactory> implementation. | 31 // mojo::InterfaceFactory<interfaces::ServiceFactory> implementation. |
| 32 void Create(mojo::ApplicationConnection* connection, | 32 void Create(mojo::ApplicationConnection* connection, |
| 33 mojo::InterfaceRequest<interfaces::ServiceFactory> request) final; | 33 mojo::InterfaceRequest<interfaces::ServiceFactory> request) final; |
| 34 | 34 |
| 35 mojo::ApplicationImpl* app_impl_; |
| 35 scoped_refptr<MediaLog> media_log_; | 36 scoped_refptr<MediaLog> media_log_; |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace media | 39 } // namespace media |
| OLD | NEW |