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

Side by Side Diff: content/shell/browser/shell_content_browser_client.h

Issue 1415483008: Get rid of SandboxedProcessLauncherDelegate::PreSandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove curly braces Created 5 years, 1 month 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 <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 int child_process_id, 80 int child_process_id,
81 content::FileDescriptorInfo* mappings, 81 content::FileDescriptorInfo* mappings,
82 std::map<int, base::MemoryMappedFile::Region>* regions) override; 82 std::map<int, base::MemoryMappedFile::Region>* regions) override;
83 #elif defined(OS_POSIX) && !defined(OS_MACOSX) 83 #elif defined(OS_POSIX) && !defined(OS_MACOSX)
84 void GetAdditionalMappedFilesForChildProcess( 84 void GetAdditionalMappedFilesForChildProcess(
85 const base::CommandLine& command_line, 85 const base::CommandLine& command_line,
86 int child_process_id, 86 int child_process_id,
87 content::FileDescriptorInfo* mappings) override; 87 content::FileDescriptorInfo* mappings) override;
88 #endif // defined(OS_ANDROID) 88 #endif // defined(OS_ANDROID)
89 #if defined(OS_WIN) 89 #if defined(OS_WIN)
90 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; 90 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override;
91 #endif 91 #endif
92 92
93 ShellBrowserContext* browser_context(); 93 ShellBrowserContext* browser_context();
94 ShellBrowserContext* off_the_record_browser_context(); 94 ShellBrowserContext* off_the_record_browser_context();
95 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { 95 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() {
96 return resource_dispatcher_host_delegate_.get(); 96 return resource_dispatcher_host_delegate_.get();
97 } 97 }
98 ShellBrowserMainParts* shell_browser_main_parts() { 98 ShellBrowserMainParts* shell_browser_main_parts() {
99 return shell_browser_main_parts_; 99 return shell_browser_main_parts_;
100 } 100 }
(...skipping 12 matching lines...) Expand all
113 resource_dispatcher_host_delegate_; 113 resource_dispatcher_host_delegate_;
114 114
115 base::Closure select_client_certificate_callback_; 115 base::Closure select_client_certificate_callback_;
116 116
117 ShellBrowserMainParts* shell_browser_main_parts_; 117 ShellBrowserMainParts* shell_browser_main_parts_;
118 }; 118 };
119 119
120 } // namespace content 120 } // namespace content
121 121
122 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 122 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/common/sandboxed_process_launcher_delegate.cc ('k') | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698