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

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

Issue 2723833002: WebM support for new multipart VP9 string. (Closed)
Patch Set: Rebase Created 3 years, 9 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 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_RENDER_MEDIA_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RENDER_MEDIA_CLIENT_H_
6 #define CONTENT_RENDERER_MEDIA_RENDER_MEDIA_CLIENT_H_ 6 #define CONTENT_RENDERER_MEDIA_RENDER_MEDIA_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
(...skipping 12 matching lines...) Expand all
23 static void Initialize(); 23 static void Initialize();
24 24
25 // MediaClient implementation. 25 // MediaClient implementation.
26 void AddKeySystemsInfoForUMA( 26 void AddKeySystemsInfoForUMA(
27 std::vector<media::KeySystemInfoForUMA>* key_systems_info_for_uma) final; 27 std::vector<media::KeySystemInfoForUMA>* key_systems_info_for_uma) final;
28 bool IsKeySystemsUpdateNeeded() final; 28 bool IsKeySystemsUpdateNeeded() final;
29 void AddSupportedKeySystems( 29 void AddSupportedKeySystems(
30 std::vector<std::unique_ptr<media::KeySystemProperties>>* 30 std::vector<std::unique_ptr<media::KeySystemProperties>>*
31 key_systems_properties) final; 31 key_systems_properties) final;
32 void RecordRapporURL(const std::string& metric, const GURL& url) final; 32 void RecordRapporURL(const std::string& metric, const GURL& url) final;
33 bool IsSupportedVideoConfig(media::VideoCodec codec, 33 bool IsSupportedVideoConfig(const media::VideoConfig& config) override;
34 media::VideoCodecProfile profile,
35 int level) override;
36 34
37 void SetTickClockForTesting(std::unique_ptr<base::TickClock> tick_clock); 35 void SetTickClockForTesting(std::unique_ptr<base::TickClock> tick_clock);
38 36
39 private: 37 private:
40 friend class RenderMediaClientTest; 38 friend class RenderMediaClientTest;
41 39
42 RenderMediaClient(); 40 RenderMediaClient();
43 ~RenderMediaClient() override; 41 ~RenderMediaClient() override;
44 42
45 static RenderMediaClient* GetInstance(); 43 static RenderMediaClient* GetInstance();
(...skipping 11 matching lines...) Expand all
57 55
58 base::TimeTicks last_update_time_ticks_; 56 base::TimeTicks last_update_time_ticks_;
59 std::unique_ptr<base::TickClock> tick_clock_; 57 std::unique_ptr<base::TickClock> tick_clock_;
60 58
61 DISALLOW_COPY_AND_ASSIGN(RenderMediaClient); 59 DISALLOW_COPY_AND_ASSIGN(RenderMediaClient);
62 }; 60 };
63 61
64 } // namespace content 62 } // namespace content
65 63
66 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_CLIENT_H_ 64 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/renderer/media/render_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698