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

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

Issue 105383002: Rename EME WD call parameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 // blink::WebContentDecryptionModule implementation. 30 // blink::WebContentDecryptionModule implementation.
31 virtual blink::WebContentDecryptionModuleSession* createSession( 31 virtual blink::WebContentDecryptionModuleSession* createSession(
32 blink::WebContentDecryptionModuleSession::Client* client); 32 blink::WebContentDecryptionModuleSession::Client* client);
33 33
34 private: 34 private:
35 // Takes ownership of |media_keys| and |adapter|. 35 // Takes ownership of |media_keys| and |adapter|.
36 WebContentDecryptionModuleImpl(scoped_ptr<media::MediaKeys> media_keys, 36 WebContentDecryptionModuleImpl(scoped_ptr<media::MediaKeys> media_keys,
37 scoped_ptr<ReferenceIdAdapter> adapter); 37 scoped_ptr<ReferenceIdAdapter> adapter);
38 38
39 // Called when a WebContentDecryptionModuleSessionImpl is closed. 39 // Called when a WebContentDecryptionModuleSessionImpl is closed.
40 void OnSessionClosed(uint32 reference_id); 40 void OnSessionClosed(uint32 session_id);
41 41
42 scoped_ptr<media::MediaKeys> media_keys_; 42 scoped_ptr<media::MediaKeys> media_keys_;
43 scoped_ptr<ReferenceIdAdapter> adapter_; 43 scoped_ptr<ReferenceIdAdapter> adapter_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(WebContentDecryptionModuleImpl); 45 DISALLOW_COPY_AND_ASSIGN(WebContentDecryptionModuleImpl);
46 }; 46 };
47 47
48 } // namespace content 48 } // namespace content
49 49
50 #endif // CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 50 #endif // CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698