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

Side by Side Diff: chromecast/renderer/cast_content_renderer_client.h

Issue 943903002: Pass MediaLog to CreateMediaRendererFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass medialog smart pointer by const reference Created 5 years, 10 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/renderer/cast_content_renderer_client.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_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
6 #define CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 14 matching lines...) Expand all
25 CastContentRendererClient(); 25 CastContentRendererClient();
26 ~CastContentRendererClient() override; 26 ~CastContentRendererClient() override;
27 27
28 // ContentRendererClient implementation: 28 // ContentRendererClient implementation:
29 void RenderThreadStarted() override; 29 void RenderThreadStarted() override;
30 void RenderViewCreated(content::RenderView* render_view) override; 30 void RenderViewCreated(content::RenderView* render_view) override;
31 void AddKeySystems( 31 void AddKeySystems(
32 std::vector< ::media::KeySystemInfo>* key_systems) override; 32 std::vector< ::media::KeySystemInfo>* key_systems) override;
33 #if !defined(OS_ANDROID) 33 #if !defined(OS_ANDROID)
34 scoped_ptr<media::RendererFactory> CreateMediaRendererFactory( 34 scoped_ptr<media::RendererFactory> CreateMediaRendererFactory(
35 content::RenderFrame* render_frame) override; 35 content::RenderFrame* render_frame,
36 const scoped_refptr<media::MediaLog>& media_log) override;
36 #endif 37 #endif
37 blink::WebPrescientNetworking* GetPrescientNetworking() override; 38 blink::WebPrescientNetworking* GetPrescientNetworking() override;
38 void DeferMediaLoad(content::RenderFrame* render_frame, 39 void DeferMediaLoad(content::RenderFrame* render_frame,
39 const base::Closure& closure) override; 40 const base::Closure& closure) override;
40 41
41 private: 42 private:
42 scoped_ptr<network_hints::PrescientNetworkingDispatcher> 43 scoped_ptr<network_hints::PrescientNetworkingDispatcher>
43 prescient_networking_dispatcher_; 44 prescient_networking_dispatcher_;
44 scoped_ptr<CastRenderProcessObserver> cast_observer_; 45 scoped_ptr<CastRenderProcessObserver> cast_observer_;
45 46
46 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient); 47 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient);
47 }; 48 };
48 49
49 } // namespace shell 50 } // namespace shell
50 } // namespace chromecast 51 } // namespace chromecast
51 52
52 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 53 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/renderer/cast_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698