| 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #endif | 31 #endif |
| 32 | 32 |
| 33 class CommandLine; | 33 class CommandLine; |
| 34 class GURL; | 34 class GURL; |
| 35 struct WebPreferences; | 35 struct WebPreferences; |
| 36 | 36 |
| 37 namespace base { | 37 namespace base { |
| 38 class DictionaryValue; | 38 class DictionaryValue; |
| 39 class FilePath; | 39 class FilePath; |
| 40 } | 40 } |
| 41 |
| 41 namespace crypto { | 42 namespace crypto { |
| 42 class CryptoModuleBlockingPasswordDelegate; | 43 class CryptoModuleBlockingPasswordDelegate; |
| 43 } | 44 } |
| 44 | 45 |
| 45 namespace gfx { | 46 namespace gfx { |
| 46 class ImageSkia; | 47 class ImageSkia; |
| 47 } | 48 } |
| 48 | 49 |
| 49 namespace net { | 50 namespace net { |
| 50 class CookieOptions; | 51 class CookieOptions; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 62 class TargetPolicy; | 63 class TargetPolicy; |
| 63 } | 64 } |
| 64 | 65 |
| 65 namespace ui { | 66 namespace ui { |
| 66 class SelectFilePolicy; | 67 class SelectFilePolicy; |
| 67 } | 68 } |
| 68 | 69 |
| 69 namespace fileapi { | 70 namespace fileapi { |
| 70 class ExternalMountPoints; | 71 class ExternalMountPoints; |
| 71 class FileSystemBackend; | 72 class FileSystemBackend; |
| 73 class FileSystemOptions; |
| 74 class FileSystemTaskRunners; |
| 72 } | 75 } |
| 73 | 76 |
| 74 namespace content { | 77 namespace content { |
| 75 | 78 |
| 76 class AccessTokenStore; | 79 class AccessTokenStore; |
| 77 class BrowserChildProcessHost; | 80 class BrowserChildProcessHost; |
| 78 class BrowserContext; | 81 class BrowserContext; |
| 79 class BrowserMainParts; | 82 class BrowserMainParts; |
| 80 class BrowserPluginGuestDelegate; | 83 class BrowserPluginGuestDelegate; |
| 81 class BrowserPpapiHost; | 84 class BrowserPpapiHost; |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 virtual void GetAdditionalAllowedSchemesForFileSystem( | 560 virtual void GetAdditionalAllowedSchemesForFileSystem( |
| 558 std::vector<std::string>* additional_schemes) {} | 561 std::vector<std::string>* additional_schemes) {} |
| 559 | 562 |
| 560 // Returns additional file system backends for FileSystem API. | 563 // Returns additional file system backends for FileSystem API. |
| 561 // |browser_context| is needed in the additional FileSystemBackends. | 564 // |browser_context| is needed in the additional FileSystemBackends. |
| 562 // It has mount points to create objects returned by additional | 565 // It has mount points to create objects returned by additional |
| 563 // FileSystemBackends, and SpecialStoragePolicy for permission granting. | 566 // FileSystemBackends, and SpecialStoragePolicy for permission granting. |
| 564 virtual void GetAdditionalFileSystemBackends( | 567 virtual void GetAdditionalFileSystemBackends( |
| 565 BrowserContext* browser_context, | 568 BrowserContext* browser_context, |
| 566 const base::FilePath& storage_partition_path, | 569 const base::FilePath& storage_partition_path, |
| 570 fileapi::FileSystemTaskRunners* task_runners, |
| 571 const fileapi::FileSystemOptions& options, |
| 567 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {} | 572 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {} |
| 568 | 573 |
| 569 // Allows an embedder to return its own LocationProvider implementation. | 574 // Allows an embedder to return its own LocationProvider implementation. |
| 570 // Return NULL to use the default one for the platform to be created. | 575 // Return NULL to use the default one for the platform to be created. |
| 571 virtual LocationProvider* OverrideSystemLocationProvider(); | 576 virtual LocationProvider* OverrideSystemLocationProvider(); |
| 572 | 577 |
| 573 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 578 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 574 // Populates |mappings| with all files that need to be mapped before launching | 579 // Populates |mappings| with all files that need to be mapped before launching |
| 575 // a child process. | 580 // a child process. |
| 576 virtual void GetAdditionalMappedFilesForChildProcess( | 581 virtual void GetAdditionalMappedFilesForChildProcess( |
| (...skipping 18 matching lines...) Expand all Loading... |
| 595 // This is called on a worker thread. | 600 // This is called on a worker thread. |
| 596 virtual | 601 virtual |
| 597 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 602 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 598 const GURL& url); | 603 const GURL& url); |
| 599 #endif | 604 #endif |
| 600 }; | 605 }; |
| 601 | 606 |
| 602 } // namespace content | 607 } // namespace content |
| 603 | 608 |
| 604 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 609 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |