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

Side by Side Diff: media/mojo/clients/mojo_cdm.h

Issue 2083433002: Mojo: Remove url type converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « ios/web/ios_web.gyp ('k') | media/mojo/clients/mojo_cdm.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 MEDIA_MOJO_CLIENTS_MOJO_CDM_H_ 5 #ifndef MEDIA_MOJO_CLIENTS_MOJO_CDM_H_
6 #define MEDIA_MOJO_CLIENTS_MOJO_CDM_H_ 6 #define MEDIA_MOJO_CLIENTS_MOJO_CDM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const GURL& security_origin, 88 const GURL& security_origin,
89 const media::CdmConfig& cdm_config, 89 const media::CdmConfig& cdm_config,
90 std::unique_ptr<CdmInitializedPromise> promise); 90 std::unique_ptr<CdmInitializedPromise> promise);
91 91
92 void OnConnectionError(); 92 void OnConnectionError();
93 93
94 // mojom::ContentDecryptionModuleClient implementation. 94 // mojom::ContentDecryptionModuleClient implementation.
95 void OnSessionMessage(const mojo::String& session_id, 95 void OnSessionMessage(const mojo::String& session_id,
96 mojom::CdmMessageType message_type, 96 mojom::CdmMessageType message_type,
97 mojo::Array<uint8_t> message, 97 mojo::Array<uint8_t> message,
98 const mojo::String& legacy_destination_url) final; 98 const GURL& legacy_destination_url) final;
99 void OnSessionClosed(const mojo::String& session_id) final; 99 void OnSessionClosed(const mojo::String& session_id) final;
100 void OnLegacySessionError(const mojo::String& session_id, 100 void OnLegacySessionError(const mojo::String& session_id,
101 mojom::CdmException exception, 101 mojom::CdmException exception,
102 uint32_t system_code, 102 uint32_t system_code,
103 const mojo::String& error_message) final; 103 const mojo::String& error_message) final;
104 void OnSessionKeysChange( 104 void OnSessionKeysChange(
105 const mojo::String& session_id, 105 const mojo::String& session_id,
106 bool has_additional_usable_key, 106 bool has_additional_usable_key,
107 mojo::Array<mojom::CdmKeyInformationPtr> keys_info) final; 107 mojo::Array<mojom::CdmKeyInformationPtr> keys_info) final;
108 void OnSessionExpirationUpdate(const mojo::String& session_id, 108 void OnSessionExpirationUpdate(const mojo::String& session_id,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 // This must be the last member. 171 // This must be the last member.
172 base::WeakPtrFactory<MojoCdm> weak_factory_; 172 base::WeakPtrFactory<MojoCdm> weak_factory_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(MojoCdm); 174 DISALLOW_COPY_AND_ASSIGN(MojoCdm);
175 }; 175 };
176 176
177 } // namespace media 177 } // namespace media
178 178
179 #endif // MEDIA_MOJO_CLIENTS_MOJO_CDM_H_ 179 #endif // MEDIA_MOJO_CLIENTS_MOJO_CDM_H_
OLDNEW
« no previous file with comments | « ios/web/ios_web.gyp ('k') | media/mojo/clients/mojo_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698