| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 namespace sandbox { | 59 namespace sandbox { |
| 60 class TargetPolicy; | 60 class TargetPolicy; |
| 61 } | 61 } |
| 62 | 62 |
| 63 namespace ui { | 63 namespace ui { |
| 64 class SelectFilePolicy; | 64 class SelectFilePolicy; |
| 65 } | 65 } |
| 66 | 66 |
| 67 namespace fileapi { | 67 namespace fileapi { |
| 68 class ExternalMountPoints; |
| 68 class FileSystemMountPointProvider; | 69 class FileSystemMountPointProvider; |
| 69 } | 70 } |
| 70 | 71 |
| 72 namespace quota { |
| 73 class SpecialStoragePolicy; |
| 74 } |
| 75 |
| 71 namespace content { | 76 namespace content { |
| 72 | 77 |
| 73 class AccessTokenStore; | 78 class AccessTokenStore; |
| 74 class BrowserChildProcessHost; | 79 class BrowserChildProcessHost; |
| 75 class BrowserContext; | 80 class BrowserContext; |
| 76 class BrowserMainParts; | 81 class BrowserMainParts; |
| 77 class BrowserPpapiHost; | 82 class BrowserPpapiHost; |
| 78 class BrowserURLHandler; | 83 class BrowserURLHandler; |
| 79 class LocationProvider; | 84 class LocationProvider; |
| 80 class MediaObserver; | 85 class MediaObserver; |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 WebContents* web_contents); | 531 WebContents* web_contents); |
| 527 | 532 |
| 528 // Returns additional allowed scheme set which can access files in | 533 // Returns additional allowed scheme set which can access files in |
| 529 // FileSystem API. | 534 // FileSystem API. |
| 530 virtual void GetAdditionalAllowedSchemesForFileSystem( | 535 virtual void GetAdditionalAllowedSchemesForFileSystem( |
| 531 std::vector<std::string>* additional_schemes) {} | 536 std::vector<std::string>* additional_schemes) {} |
| 532 | 537 |
| 533 // Returns additional MountPointProviders for FileSystem API. | 538 // Returns additional MountPointProviders for FileSystem API. |
| 534 virtual void GetAdditionalFileSystemMountPointProviders( | 539 virtual void GetAdditionalFileSystemMountPointProviders( |
| 535 const base::FilePath& storage_partition_path, | 540 const base::FilePath& storage_partition_path, |
| 541 quota::SpecialStoragePolicy* special_storage_policy, |
| 542 fileapi::ExternalMountPoints* external_mount_points, |
| 536 ScopedVector<fileapi::FileSystemMountPointProvider>* | 543 ScopedVector<fileapi::FileSystemMountPointProvider>* |
| 537 additional_providers) {} | 544 additional_providers) {} |
| 538 | 545 |
| 539 // Allows an embedder to return its own LocationProvider implementation. | 546 // Allows an embedder to return its own LocationProvider implementation. |
| 540 // Return NULL to use the default one for the platform to be created. | 547 // Return NULL to use the default one for the platform to be created. |
| 541 virtual LocationProvider* OverrideSystemLocationProvider(); | 548 virtual LocationProvider* OverrideSystemLocationProvider(); |
| 542 | 549 |
| 543 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 550 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 544 // Populates |mappings| with all files that need to be mapped before launching | 551 // Populates |mappings| with all files that need to be mapped before launching |
| 545 // a child process. | 552 // a child process. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 565 // This is called on a worker thread. | 572 // This is called on a worker thread. |
| 566 virtual | 573 virtual |
| 567 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 574 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 568 const GURL& url); | 575 const GURL& url); |
| 569 #endif | 576 #endif |
| 570 }; | 577 }; |
| 571 | 578 |
| 572 } // namespace content | 579 } // namespace content |
| 573 | 580 |
| 574 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 581 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |