| 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 bool opener_suppressed, | 146 bool opener_suppressed, |
| 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 void AddConnectionFilters(ConnectionFilterList* filters) override; |
| 156 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 157 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 157 const std::string& service_name) override; | 158 const std::string& service_name) override; |
| 158 #if defined(OS_ANDROID) | 159 #if defined(OS_ANDROID) |
| 159 void GetAdditionalMappedFilesForChildProcess( | 160 void GetAdditionalMappedFilesForChildProcess( |
| 160 const base::CommandLine& command_line, | 161 const base::CommandLine& command_line, |
| 161 int child_process_id, | 162 int child_process_id, |
| 162 content::FileDescriptorInfo* mappings, | 163 content::FileDescriptorInfo* mappings, |
| 163 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 164 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 164 #else | 165 #else |
| 165 ::media::ScopedAudioManagerPtr CreateAudioManager( | 166 ::media::ScopedAudioManagerPtr CreateAudioManager( |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 CastBrowserMainParts* cast_browser_main_parts_; | 206 CastBrowserMainParts* cast_browser_main_parts_; |
| 206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 207 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 209 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace shell | 212 } // namespace shell |
| 212 } // namespace chromecast | 213 } // namespace chromecast |
| 213 | 214 |
| 214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 215 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |