Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: chromecast/browser/cast_content_browser_client.h

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Mojo launcher, review comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void ExposeInterfacesToRenderer( 161 void ExposeInterfacesToRenderer(
162 service_manager::BinderRegistry* registry, 162 service_manager::BinderRegistry* registry,
163 content::AssociatedInterfaceRegistry* associated_registry, 163 content::AssociatedInterfaceRegistry* associated_registry,
164 content::RenderProcessHost* render_process_host) override; 164 content::RenderProcessHost* render_process_host) override;
165 void RegisterInProcessServices(StaticServiceMap* services) override; 165 void RegisterInProcessServices(StaticServiceMap* services) override;
166 std::unique_ptr<base::Value> GetServiceManifestOverlay( 166 std::unique_ptr<base::Value> GetServiceManifestOverlay(
167 base::StringPiece service_name) override; 167 base::StringPiece service_name) override;
168 void GetAdditionalMappedFilesForChildProcess( 168 void GetAdditionalMappedFilesForChildProcess(
169 const base::CommandLine& command_line, 169 const base::CommandLine& command_line,
170 int child_process_id, 170 int child_process_id,
171 content::FileDescriptorInfo* mappings) override; 171 content::PosixFileDescriptorInfo* mappings) override;
172 void GetAdditionalWebUISchemes( 172 void GetAdditionalWebUISchemes(
173 std::vector<std::string>* additional_schemes) override; 173 std::vector<std::string>* additional_schemes) override;
174 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 174 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
175 175
176 protected: 176 protected:
177 CastContentBrowserClient(); 177 CastContentBrowserClient();
178 178
179 URLRequestContextFactory* url_request_context_factory() const { 179 URLRequestContextFactory* url_request_context_factory() const {
180 return url_request_context_factory_.get(); 180 return url_request_context_factory_.get();
181 } 181 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 std::unique_ptr<media::MediaPipelineBackendFactory> 215 std::unique_ptr<media::MediaPipelineBackendFactory>
216 media_pipeline_backend_factory_; 216 media_pipeline_backend_factory_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 218 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
219 }; 219 };
220 220
221 } // namespace shell 221 } // namespace shell
222 } // namespace chromecast 222 } // namespace chromecast
223 223
224 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 224 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698