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