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