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

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

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/media/media_interface_provider.h ('k') | content/renderer/mus/BUILD.gn » ('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 #include "content/renderer/media/media_interface_provider.h" 5 #include "content/renderer/media/media_interface_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "media/mojo/interfaces/content_decryption_module.mojom.h" 8 #include "media/mojo/interfaces/content_decryption_module.mojom.h"
9 #include "media/mojo/interfaces/renderer.mojom.h" 9 #include "media/mojo/interfaces/renderer.mojom.h"
10 #include "mojo/public/cpp/bindings/interface_request.h" 10 #include "mojo/public/cpp/bindings/interface_request.h"
11 #include "mojo/shell/public/cpp/connect.h" 11 #include "services/shell/public/cpp/connect.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 MediaInterfaceProvider::MediaInterfaceProvider( 15 MediaInterfaceProvider::MediaInterfaceProvider(
16 const ConnectToApplicationCB& connect_to_app_cb) 16 const ConnectToApplicationCB& connect_to_app_cb)
17 : connect_to_app_cb_(connect_to_app_cb) { 17 : connect_to_app_cb_(connect_to_app_cb) {
18 DCHECK(!connect_to_app_cb_.is_null()); 18 DCHECK(!connect_to_app_cb_.is_null());
19 } 19 }
20 20
21 MediaInterfaceProvider::~MediaInterfaceProvider() { 21 MediaInterfaceProvider::~MediaInterfaceProvider() {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 void MediaInterfaceProvider::OnConnectionError() { 61 void MediaInterfaceProvider::OnConnectionError() {
62 DVLOG(1) << __FUNCTION__; 62 DVLOG(1) << __FUNCTION__;
63 DCHECK(thread_checker_.CalledOnValidThread()); 63 DCHECK(thread_checker_.CalledOnValidThread());
64 64
65 media_service_factory_.reset(); 65 media_service_factory_.reset();
66 } 66 }
67 67
68 } // namespace content 68 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_interface_provider.h ('k') | content/renderer/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698