OLD | NEW |
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_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 content::ResourceContext* context, | 147 content::ResourceContext* context, |
148 int render_process_id, | 148 int render_process_id, |
149 int opener_render_view_id, | 149 int opener_render_view_id, |
150 int opener_render_frame_id, | 150 int opener_render_frame_id, |
151 bool* no_javascript_access) override; | 151 bool* no_javascript_access) override; |
152 void ExposeInterfacesToRenderer( | 152 void ExposeInterfacesToRenderer( |
153 service_manager::InterfaceRegistry* registry, | 153 service_manager::InterfaceRegistry* registry, |
154 content::RenderProcessHost* render_process_host) override; | 154 content::RenderProcessHost* render_process_host) override; |
155 void RegisterInProcessServices(StaticServiceMap* services) override; | 155 void RegisterInProcessServices(StaticServiceMap* services) override; |
156 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 156 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
157 const std::string& service_name) override; | 157 base::StringPiece service_name) override; |
158 #if defined(OS_ANDROID) | 158 #if defined(OS_ANDROID) |
159 void GetAdditionalMappedFilesForChildProcess( | 159 void GetAdditionalMappedFilesForChildProcess( |
160 const base::CommandLine& command_line, | 160 const base::CommandLine& command_line, |
161 int child_process_id, | 161 int child_process_id, |
162 content::FileDescriptorInfo* mappings, | 162 content::FileDescriptorInfo* mappings, |
163 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 163 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
164 #else | 164 #else |
165 ::media::ScopedAudioManagerPtr CreateAudioManager( | 165 ::media::ScopedAudioManagerPtr CreateAudioManager( |
166 ::media::AudioLogFactory* audio_log_factory) override; | 166 ::media::AudioLogFactory* audio_log_factory) override; |
167 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; | 167 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 CastBrowserMainParts* cast_browser_main_parts_; | 205 CastBrowserMainParts* cast_browser_main_parts_; |
206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
207 | 207 |
208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
209 }; | 209 }; |
210 | 210 |
211 } // namespace shell | 211 } // namespace shell |
212 } // namespace chromecast | 212 } // namespace chromecast |
213 | 213 |
214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |