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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 void ExposeInterfacesToRenderer( | 160 void ExposeInterfacesToRenderer( |
161 service_manager::BinderRegistry* registry, | 161 service_manager::BinderRegistry* registry, |
162 content::AssociatedInterfaceRegistry* associated_registry, | 162 content::AssociatedInterfaceRegistry* associated_registry, |
163 content::RenderProcessHost* render_process_host) override; | 163 content::RenderProcessHost* render_process_host) override; |
164 void RegisterInProcessServices(StaticServiceMap* services) override; | 164 void RegisterInProcessServices(StaticServiceMap* services) override; |
165 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 165 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
166 base::StringPiece service_name) override; | 166 base::StringPiece service_name) override; |
167 void GetAdditionalMappedFilesForChildProcess( | 167 void GetAdditionalMappedFilesForChildProcess( |
168 const base::CommandLine& command_line, | 168 const base::CommandLine& command_line, |
169 int child_process_id, | 169 int child_process_id, |
170 content::FileDescriptorInfo* mappings) override; | 170 content::PosixFileDescriptorInfo* mappings) override; |
171 void GetAdditionalWebUISchemes( | 171 void GetAdditionalWebUISchemes( |
172 std::vector<std::string>* additional_schemes) override; | 172 std::vector<std::string>* additional_schemes) override; |
173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
174 | 174 |
175 protected: | 175 protected: |
176 CastContentBrowserClient(); | 176 CastContentBrowserClient(); |
177 | 177 |
178 URLRequestContextFactory* url_request_context_factory() const { | 178 URLRequestContextFactory* url_request_context_factory() const { |
179 return url_request_context_factory_.get(); | 179 return url_request_context_factory_.get(); |
180 } | 180 } |
(...skipping 29 matching lines...) Expand all Loading... |
210 std::unique_ptr<media::MediaPipelineBackendFactory> | 210 std::unique_ptr<media::MediaPipelineBackendFactory> |
211 media_pipeline_backend_factory_; | 211 media_pipeline_backend_factory_; |
212 | 212 |
213 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 213 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
214 }; | 214 }; |
215 | 215 |
216 } // namespace shell | 216 } // namespace shell |
217 } // namespace chromecast | 217 } // namespace chromecast |
218 | 218 |
219 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 219 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |