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

Side by Side Diff: chromecast/browser/media/cast_browser_cdm_factory.h

Issue 2160953004: [Chromecast] Pass security origin to CastCdm and remove destination url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Depends on //url:url Created 4 years, 5 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 | « no previous file | chromecast/browser/media/cast_browser_cdm_factory.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 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 CHROMECAST_BROWSER_MEDIA_CAST_BROWSER_CDM_FACTORY_H_ 5 #ifndef CHROMECAST_BROWSER_MEDIA_CAST_BROWSER_CDM_FACTORY_H_
6 #define CHROMECAST_BROWSER_MEDIA_CAST_BROWSER_CDM_FACTORY_H_ 6 #define CHROMECAST_BROWSER_MEDIA_CAST_BROWSER_CDM_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chromecast/media/base/key_systems_common.h" 9 #include "chromecast/media/base/key_systems_common.h"
10 #include "chromecast/media/base/media_resource_tracker.h" 10 #include "chromecast/media/base/media_resource_tracker.h"
(...skipping 23 matching lines...) Expand all
34 const ::media::CdmConfig& cdm_config, 34 const ::media::CdmConfig& cdm_config,
35 const ::media::SessionMessageCB& session_message_cb, 35 const ::media::SessionMessageCB& session_message_cb,
36 const ::media::SessionClosedCB& session_closed_cb, 36 const ::media::SessionClosedCB& session_closed_cb,
37 const ::media::LegacySessionErrorCB& legacy_session_error_cb, 37 const ::media::LegacySessionErrorCB& legacy_session_error_cb,
38 const ::media::SessionKeysChangeCB& session_keys_change_cb, 38 const ::media::SessionKeysChangeCB& session_keys_change_cb,
39 const ::media::SessionExpirationUpdateCB& session_expiration_update_cb, 39 const ::media::SessionExpirationUpdateCB& session_expiration_update_cb,
40 const ::media::CdmCreatedCB& cdm_created_cb) override; 40 const ::media::CdmCreatedCB& cdm_created_cb) override;
41 41
42 // Provides a platform-specific BrowserCdm instance. 42 // Provides a platform-specific BrowserCdm instance.
43 virtual scoped_refptr<CastCdm> CreatePlatformBrowserCdm( 43 virtual scoped_refptr<CastCdm> CreatePlatformBrowserCdm(
44 const CastKeySystem& cast_key_system); 44 const CastKeySystem& cast_key_system,
45 const GURL& security_origin);
45 46
46 protected: 47 protected:
47 MediaResourceTracker* media_resource_tracker_; 48 MediaResourceTracker* media_resource_tracker_;
48 49
49 private: 50 private:
50 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 51 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
51 DISALLOW_COPY_AND_ASSIGN(CastBrowserCdmFactory); 52 DISALLOW_COPY_AND_ASSIGN(CastBrowserCdmFactory);
52 }; 53 };
53 54
54 } // namespace media 55 } // namespace media
55 } // namespace chromecast 56 } // namespace chromecast
56 57
57 #endif // CHROMECAST_BROWSER_MEDIA_CAST_BROWSER_CDM_FACTORY_H_ 58 #endif // CHROMECAST_BROWSER_MEDIA_CAST_BROWSER_CDM_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/browser/media/cast_browser_cdm_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698