OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 bool private_api, | 239 bool private_api, |
240 const content::SocketPermissionRequest& params) OVERRIDE; | 240 const content::SocketPermissionRequest& params) OVERRIDE; |
241 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | 241 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( |
242 content::WebContents* web_contents) OVERRIDE; | 242 content::WebContents* web_contents) OVERRIDE; |
243 virtual void GetAdditionalAllowedSchemesForFileSystem( | 243 virtual void GetAdditionalAllowedSchemesForFileSystem( |
244 std::vector<std::string>* additional_schemes) OVERRIDE; | 244 std::vector<std::string>* additional_schemes) OVERRIDE; |
245 virtual void GetAdditionalFileSystemBackends( | 245 virtual void GetAdditionalFileSystemBackends( |
246 content::BrowserContext* browser_context, | 246 content::BrowserContext* browser_context, |
247 const base::FilePath& storage_partition_path, | 247 const base::FilePath& storage_partition_path, |
248 ScopedVector<fileapi::FileSystemBackend>* additional_backends) OVERRIDE; | 248 ScopedVector<fileapi::FileSystemBackend>* additional_backends) OVERRIDE; |
| 249 virtual bool ShouldKillChildProcessOnBadMessage() OVERRIDE; |
249 | 250 |
250 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 251 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
251 virtual void GetAdditionalMappedFilesForChildProcess( | 252 virtual void GetAdditionalMappedFilesForChildProcess( |
252 const CommandLine& command_line, | 253 const CommandLine& command_line, |
253 int child_process_id, | 254 int child_process_id, |
254 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 255 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
255 #endif | 256 #endif |
256 #if defined(OS_WIN) | 257 #if defined(OS_WIN) |
257 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 258 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
258 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 259 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
(...skipping 12 matching lines...) Expand all Loading... |
271 #endif | 272 #endif |
272 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 273 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
273 permissions_policy_delegate_; | 274 permissions_policy_delegate_; |
274 | 275 |
275 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 276 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
276 }; | 277 }; |
277 | 278 |
278 } // namespace chrome | 279 } // namespace chrome |
279 | 280 |
280 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 281 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |