OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "chromecast/renderer/cast_content_renderer_client.h" | 5 #include "chromecast/renderer/cast_content_renderer_client.h" |
6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" |
7 #include "ipc/message_filter.h" | 8 #include "ipc/message_filter.h" |
8 | 9 |
9 namespace chromecast { | 10 namespace chromecast { |
10 namespace shell { | 11 namespace shell { |
11 | 12 |
| 13 // static |
| 14 scoped_ptr<CastContentRendererClient> CastContentRendererClient::Create() { |
| 15 return make_scoped_ptr(new CastContentRendererClient()); |
| 16 } |
| 17 |
12 void PlatformAddRendererNativeBindings(blink::WebLocalFrame* frame) { | 18 void PlatformAddRendererNativeBindings(blink::WebLocalFrame* frame) { |
13 } | 19 } |
14 | 20 |
15 std::vector<scoped_refptr<IPC::MessageFilter>> | 21 std::vector<scoped_refptr<IPC::MessageFilter>> |
16 CastContentRendererClient::PlatformGetRendererMessageFilters() { | 22 CastContentRendererClient::PlatformGetRendererMessageFilters() { |
17 return std::vector<scoped_refptr<IPC::MessageFilter>>(); | 23 return std::vector<scoped_refptr<IPC::MessageFilter>>(); |
18 } | 24 } |
19 | 25 |
20 } // namespace shell | 26 } // namespace shell |
21 } // namespace chromecast | 27 } // namespace chromecast |
OLD | NEW |