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

Side by Side Diff: chrome/browser/media/output_protection_impl.cc

Issue 1977173002: Rename media::interfaces to media::mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + chromeos files Created 4 years, 7 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
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 "chrome/browser/media/output_protection_impl.h" 5 #include "chrome/browser/media/output_protection_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 9
10 using media::interfaces::OutputProtection; 10 using media::mojom::OutputProtection;
11 11
12 // static 12 // static
13 void OutputProtectionImpl::Create( 13 void OutputProtectionImpl::Create(
14 content::RenderFrameHost* render_frame_host, 14 content::RenderFrameHost* render_frame_host,
15 mojo::InterfaceRequest<OutputProtection> request) { 15 mojo::InterfaceRequest<OutputProtection> request) {
16 DVLOG(2) << __FUNCTION__; 16 DVLOG(2) << __FUNCTION__;
17 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 17 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
18 DCHECK(render_frame_host); 18 DCHECK(render_frame_host);
19 19
20 // The created object is strongly bound to (and owned by) the pipe. 20 // The created object is strongly bound to (and owned by) the pipe.
(...skipping 23 matching lines...) Expand all
44 void OutputProtectionImpl::EnableProtection( 44 void OutputProtectionImpl::EnableProtection(
45 uint32_t desired_protection_mask, 45 uint32_t desired_protection_mask,
46 const EnableProtectionCallback& callback) { 46 const EnableProtectionCallback& callback) {
47 DVLOG(2) << __FUNCTION__; 47 DVLOG(2) << __FUNCTION__;
48 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 48 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
49 49
50 NOTIMPLEMENTED(); 50 NOTIMPLEMENTED();
51 51
52 callback.Run(false); 52 callback.Run(false);
53 } 53 }
OLDNEW
« no previous file with comments | « chrome/browser/media/output_protection_impl.h ('k') | content/browser/media/android/provision_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698