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

Side by Side Diff: third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h

Issue 2807713002: [Media Capabilities] Rename query() to decodingInfo() and MediaDecodingAbility to MediaCapabilities… (Closed)
Patch Set: review comments & rebase Created 3 years, 8 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 WebMediaCapabilitiesClient_h 5 #ifndef WebMediaCapabilitiesClient_h
6 #define WebMediaCapabilitiesClient_h 6 #define WebMediaCapabilitiesClient_h
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "public/platform/modules/media_capabilities/WebMediaDecodingAbility.h" 10 #include "public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 struct WebMediaConfiguration; 14 struct WebMediaConfiguration;
15 15
16 // Interface between Blink and the Media layer. 16 // Interface between Blink and the Media layer.
17 class WebMediaCapabilitiesClient { 17 class WebMediaCapabilitiesClient {
18 public: 18 public:
19 virtual ~WebMediaCapabilitiesClient() = default; 19 virtual ~WebMediaCapabilitiesClient() = default;
20 20
21 virtual void Query(const WebMediaConfiguration&, 21 virtual void DecodingInfo(
22 std::unique_ptr<WebMediaCapabilitiesQueryCallbacks>) = 0; 22 const WebMediaConfiguration&,
23 std::unique_ptr<WebMediaCapabilitiesQueryCallbacks>) = 0;
23 }; 24 };
24 25
25 } // namespace blink 26 } // namespace blink
26 27
27 #endif // WebMediaCapabilitiesClient_h 28 #endif // WebMediaCapabilitiesClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698