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

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

Issue 1168643004: Allow CastContentBrowserClient to customise media pipeline device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment updates + Android exclusion Created 5 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 | « chromecast/media/cma/backend/media_pipeline_device.h ('k') | no next file » | 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 23 matching lines...) Expand all
34 // be added to the render process. 34 // be added to the render process.
35 std::vector<scoped_refptr<IPC::MessageFilter>> 35 std::vector<scoped_refptr<IPC::MessageFilter>>
36 PlatformGetRendererMessageFilters(); 36 PlatformGetRendererMessageFilters();
37 37
38 // ContentRendererClient implementation: 38 // ContentRendererClient implementation:
39 void RenderThreadStarted() override; 39 void RenderThreadStarted() override;
40 void RenderViewCreated(content::RenderView* render_view) override; 40 void RenderViewCreated(content::RenderView* render_view) override;
41 void AddKeySystems( 41 void AddKeySystems(
42 std::vector< ::media::KeySystemInfo>* key_systems) override; 42 std::vector< ::media::KeySystemInfo>* key_systems) override;
43 #if !defined(OS_ANDROID) 43 #if !defined(OS_ANDROID)
44 scoped_ptr<media::RendererFactory> CreateMediaRendererFactory( 44 scoped_ptr<::media::RendererFactory> CreateMediaRendererFactory(
45 content::RenderFrame* render_frame, 45 content::RenderFrame* render_frame,
46 const scoped_refptr<media::MediaLog>& media_log) override; 46 const scoped_refptr<::media::MediaLog>& media_log) override;
47 #endif 47 #endif
48 blink::WebPrescientNetworking* GetPrescientNetworking() override; 48 blink::WebPrescientNetworking* GetPrescientNetworking() override;
49 void DeferMediaLoad(content::RenderFrame* render_frame, 49 void DeferMediaLoad(content::RenderFrame* render_frame,
50 const base::Closure& closure) override; 50 const base::Closure& closure) override;
51 51
52 private: 52 private:
53 scoped_ptr<network_hints::PrescientNetworkingDispatcher> 53 scoped_ptr<network_hints::PrescientNetworkingDispatcher>
54 prescient_networking_dispatcher_; 54 prescient_networking_dispatcher_;
55 scoped_ptr<CastRenderProcessObserver> cast_observer_; 55 scoped_ptr<CastRenderProcessObserver> cast_observer_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient); 57 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient);
58 }; 58 };
59 59
60 } // namespace shell 60 } // namespace shell
61 } // namespace chromecast 61 } // namespace chromecast
62 62
63 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 63 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/media_pipeline_device.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698