| 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 MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ |   5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ | 
|   6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ |   6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ | 
|   7  |   7  | 
|   8 #include <stdint.h> |   8 #include <stdint.h> | 
|   9  |   9  | 
|  10 #include <memory> |  10 #include <memory> | 
|  11  |  11  | 
|  12 #include "base/callback.h" |  12 #include "base/callback.h" | 
|  13 #include "base/memory/ref_counted.h" |  13 #include "base/memory/ref_counted.h" | 
|  14 #include "media/mojo/interfaces/service_factory.mojom.h" |  14 #include "media/mojo/interfaces/service_factory.mojom.h" | 
|  15 #include "mojo/shell/public/cpp/interface_factory.h" |  15 #include "services/shell/public/cpp/interface_factory.h" | 
|  16 #include "mojo/shell/public/cpp/message_loop_ref.h" |  16 #include "services/shell/public/cpp/message_loop_ref.h" | 
|  17 #include "mojo/shell/public/cpp/shell_client.h" |  17 #include "services/shell/public/cpp/shell_client.h" | 
|  18 #include "url/gurl.h" |  18 #include "url/gurl.h" | 
|  19  |  19  | 
|  20 namespace media { |  20 namespace media { | 
|  21  |  21  | 
|  22 class MediaLog; |  22 class MediaLog; | 
|  23 class MojoMediaClient; |  23 class MojoMediaClient; | 
|  24  |  24  | 
|  25 class MojoMediaApplication |  25 class MojoMediaApplication | 
|  26     : public mojo::ShellClient, |  26     : public mojo::ShellClient, | 
|  27       public mojo::InterfaceFactory<interfaces::ServiceFactory> { |  27       public mojo::InterfaceFactory<interfaces::ServiceFactory> { | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
|  47   std::unique_ptr<MojoMediaClient> mojo_media_client_; |  47   std::unique_ptr<MojoMediaClient> mojo_media_client_; | 
|  48  |  48  | 
|  49   mojo::Connector* connector_; |  49   mojo::Connector* connector_; | 
|  50   scoped_refptr<MediaLog> media_log_; |  50   scoped_refptr<MediaLog> media_log_; | 
|  51   mojo::MessageLoopRefFactory ref_factory_; |  51   mojo::MessageLoopRefFactory ref_factory_; | 
|  52 }; |  52 }; | 
|  53  |  53  | 
|  54 }  // namespace media |  54 }  // namespace media | 
|  55  |  55  | 
|  56 #endif  // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ |  56 #endif  // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ | 
| OLD | NEW |