Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: content/renderer/media/media_interface_provider.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/media/media_interface_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "media/mojo/interfaces/service_factory.mojom.h" 12 #include "media/mojo/interfaces/service_factory.mojom.h"
13 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" 13 #include "services/shell/public/interfaces/interface_provider.mojom.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 // MediaInterfaceProvider is an implementation of mojo InterfaceProvider that 18 // MediaInterfaceProvider is an implementation of mojo InterfaceProvider that
19 // provides media related services and handles app disconnection automatically. 19 // provides media related services and handles app disconnection automatically.
20 // This class is single threaded. 20 // This class is single threaded.
21 class CONTENT_EXPORT MediaInterfaceProvider 21 class CONTENT_EXPORT MediaInterfaceProvider
22 : public mojo::shell::mojom::InterfaceProvider { 22 : public mojo::shell::mojom::InterfaceProvider {
23 public: 23 public:
(...skipping 16 matching lines...) Expand all
40 base::ThreadChecker thread_checker_; 40 base::ThreadChecker thread_checker_;
41 ConnectToApplicationCB connect_to_app_cb_; 41 ConnectToApplicationCB connect_to_app_cb_;
42 media::interfaces::ServiceFactoryPtr media_service_factory_; 42 media::interfaces::ServiceFactoryPtr media_service_factory_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(MediaInterfaceProvider); 44 DISALLOW_COPY_AND_ASSIGN(MediaInterfaceProvider);
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ 49 #endif // CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/media/media_interface_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698