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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 virtual bool AllowPepperPrivateFileAPI(); | 449 virtual bool AllowPepperPrivateFileAPI(); |
450 | 450 |
451 // Returns the directory containing hyphenation dictionaries. | 451 // Returns the directory containing hyphenation dictionaries. |
452 virtual FilePath GetHyphenDictionaryDirectory(); | 452 virtual FilePath GetHyphenDictionaryDirectory(); |
453 | 453 |
454 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 454 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
455 // Populates |mappings| with all files that need to be mapped before launching | 455 // Populates |mappings| with all files that need to be mapped before launching |
456 // a child process. | 456 // a child process. |
457 virtual void GetAdditionalMappedFilesForChildProcess( | 457 virtual void GetAdditionalMappedFilesForChildProcess( |
458 const CommandLine& command_line, | 458 const CommandLine& command_line, |
| 459 int child_process_id, |
459 std::vector<FileDescriptorInfo>* mappings) {} | 460 std::vector<FileDescriptorInfo>* mappings) {} |
460 #endif | 461 #endif |
461 | 462 |
462 #if defined(OS_WIN) | 463 #if defined(OS_WIN) |
463 // Returns the name of the dll that contains cursors and other resources. | 464 // Returns the name of the dll that contains cursors and other resources. |
464 virtual const wchar_t* GetResourceDllName(); | 465 virtual const wchar_t* GetResourceDllName(); |
465 #endif | 466 #endif |
466 | 467 |
467 #if defined(USE_NSS) | 468 #if defined(USE_NSS) |
468 // Return a delegate to authenticate and unlock |module|. | 469 // Return a delegate to authenticate and unlock |module|. |
469 // This is called on a worker thread. | 470 // This is called on a worker thread. |
470 virtual | 471 virtual |
471 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 472 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
472 const GURL& url); | 473 const GURL& url); |
473 #endif | 474 #endif |
474 }; | 475 }; |
475 | 476 |
476 } // namespace content | 477 } // namespace content |
477 | 478 |
478 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 479 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |