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

Side by Side Diff: content/renderer/media/crypto/renderer_cdm_manager.h

Issue 794333003: virtual/override specifier cleanup in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/browser/media/media_web_contents_observer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CONTENT_RENDERER_MEDIA_CRYPTO_RENDERER_CDM_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_CRYPTO_RENDERER_CDM_MANAGER_H_
6 #define CONTENT_RENDERER_MEDIA_CRYPTO_RENDERER_CDM_MANAGER_H_ 6 #define CONTENT_RENDERER_MEDIA_CRYPTO_RENDERER_CDM_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 21
22 namespace content { 22 namespace content {
23 23
24 class ProxyMediaKeys; 24 class ProxyMediaKeys;
25 25
26 // Class for managing all the CDM objects in the same RenderFrame. 26 // Class for managing all the CDM objects in the same RenderFrame.
27 class RendererCdmManager : public RenderFrameObserver { 27 class RendererCdmManager : public RenderFrameObserver {
28 public: 28 public:
29 // Constructs a RendererCdmManager object for the |render_frame|. 29 // Constructs a RendererCdmManager object for the |render_frame|.
30 explicit RendererCdmManager(RenderFrame* render_frame); 30 explicit RendererCdmManager(RenderFrame* render_frame);
31 virtual ~RendererCdmManager(); 31 ~RendererCdmManager() override;
32 32
33 // RenderFrameObserver overrides. 33 // RenderFrameObserver overrides.
34 virtual bool OnMessageReceived(const IPC::Message& msg) override; 34 bool OnMessageReceived(const IPC::Message& msg) override;
35 35
36 // Encrypted media related methods. 36 // Encrypted media related methods.
37 void InitializeCdm(int cdm_id, 37 void InitializeCdm(int cdm_id,
38 ProxyMediaKeys* media_keys, 38 ProxyMediaKeys* media_keys,
39 const std::string& key_system, 39 const std::string& key_system,
40 const GURL& security_origin); 40 const GURL& security_origin);
41 void CreateSession(int cdm_id, 41 void CreateSession(int cdm_id,
42 uint32 session_id, 42 uint32 session_id,
43 CdmHostMsg_CreateSession_ContentType conent_type, 43 CdmHostMsg_CreateSession_ContentType conent_type,
44 const std::vector<uint8>& init_data); 44 const std::vector<uint8>& init_data);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // CDM ID to ProxyMediaKeys mapping. 80 // CDM ID to ProxyMediaKeys mapping.
81 std::map<int, ProxyMediaKeys*> proxy_media_keys_map_; 81 std::map<int, ProxyMediaKeys*> proxy_media_keys_map_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(RendererCdmManager); 83 DISALLOW_COPY_AND_ASSIGN(RendererCdmManager);
84 }; 84 };
85 85
86 } // namespace content 86 } // namespace content
87 87
88 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_RENDERER_CDM_MANAGER_H_ 88 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_RENDERER_CDM_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/media/media_web_contents_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698