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