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

Side by Side Diff: content/shell/browser/shell_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 71 DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
72 72
73 void OpenURL(BrowserContext* browser_context, 73 void OpenURL(BrowserContext* browser_context,
74 const OpenURLParams& params, 74 const OpenURLParams& params,
75 const base::Callback<void(WebContents*)>& callback) override; 75 const base::Callback<void(WebContents*)>& callback) override;
76 76
77 #if defined(OS_POSIX) && !defined(OS_MACOSX) 77 #if defined(OS_POSIX) && !defined(OS_MACOSX)
78 void GetAdditionalMappedFilesForChildProcess( 78 void GetAdditionalMappedFilesForChildProcess(
79 const base::CommandLine& command_line, 79 const base::CommandLine& command_line,
80 int child_process_id, 80 int child_process_id,
81 content::FileDescriptorInfo* mappings) override; 81 content::PosixFileDescriptorInfo* mappings) override;
82 #endif // defined(OS_POSIX) && !defined(OS_MACOSX) 82 #endif // defined(OS_POSIX) && !defined(OS_MACOSX)
83 #if defined(OS_WIN) 83 #if defined(OS_WIN)
84 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; 84 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override;
85 #endif 85 #endif
86 86
87 ShellBrowserContext* browser_context(); 87 ShellBrowserContext* browser_context();
88 ShellBrowserContext* off_the_record_browser_context(); 88 ShellBrowserContext* off_the_record_browser_context();
89 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { 89 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() {
90 return resource_dispatcher_host_delegate_.get(); 90 return resource_dispatcher_host_delegate_.get();
91 } 91 }
(...skipping 25 matching lines...) Expand all
117 117
118 service_manager::BinderRegistryWithParams<content::RenderFrameHost*> 118 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>
119 frame_interfaces_; 119 frame_interfaces_;
120 120
121 ShellBrowserMainParts* shell_browser_main_parts_; 121 ShellBrowserMainParts* shell_browser_main_parts_;
122 }; 122 };
123 123
124 } // namespace content 124 } // namespace content
125 125
126 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 126 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698