| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 class TargetPolicy; | 73 class TargetPolicy; |
| 74 } | 74 } |
| 75 | 75 |
| 76 namespace ui { | 76 namespace ui { |
| 77 class SelectFilePolicy; | 77 class SelectFilePolicy; |
| 78 } | 78 } |
| 79 | 79 |
| 80 namespace storage { | 80 namespace storage { |
| 81 class ExternalMountPoints; | 81 class ExternalMountPoints; |
| 82 class FileSystemBackend; | 82 class FileSystemBackend; |
| 83 class QuotaEvictionPolicy; |
| 83 } | 84 } |
| 84 | 85 |
| 85 namespace content { | 86 namespace content { |
| 86 | 87 |
| 87 enum class PermissionType; | 88 enum class PermissionType; |
| 88 class AccessTokenStore; | 89 class AccessTokenStore; |
| 89 class BrowserChildProcessHost; | 90 class BrowserChildProcessHost; |
| 90 class BrowserContext; | 91 class BrowserContext; |
| 91 class BrowserMainParts; | 92 class BrowserMainParts; |
| 92 class BrowserPluginGuestDelegate; | 93 class BrowserPluginGuestDelegate; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 BrowserContext* browser_context, | 439 BrowserContext* browser_context, |
| 439 const GURL& site, | 440 const GURL& site, |
| 440 bool can_be_default, | 441 bool can_be_default, |
| 441 std::string* partition_domain, | 442 std::string* partition_domain, |
| 442 std::string* partition_name, | 443 std::string* partition_name, |
| 443 bool* in_memory); | 444 bool* in_memory); |
| 444 | 445 |
| 445 // Create and return a new quota permission context. | 446 // Create and return a new quota permission context. |
| 446 virtual QuotaPermissionContext* CreateQuotaPermissionContext(); | 447 virtual QuotaPermissionContext* CreateQuotaPermissionContext(); |
| 447 | 448 |
| 449 // Gives the embedder a chance to register a custom QuotaEvictionPolicy for |
| 450 // temporary storage. |
| 451 virtual scoped_ptr<storage::QuotaEvictionPolicy> |
| 452 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context); |
| 453 |
| 448 // Informs the embedder that a certificate error has occured. If | 454 // Informs the embedder that a certificate error has occured. If |
| 449 // |overridable| is true and if |strict_enforcement| is false, the user | 455 // |overridable| is true and if |strict_enforcement| is false, the user |
| 450 // can ignore the error and continue. The embedder can call the callback | 456 // can ignore the error and continue. The embedder can call the callback |
| 451 // asynchronously. If |result| is not set to | 457 // asynchronously. If |result| is not set to |
| 452 // CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE, the request will be cancelled | 458 // CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE, the request will be cancelled |
| 453 // or denied immediately, and the callback won't be run. | 459 // or denied immediately, and the callback won't be run. |
| 454 virtual void AllowCertificateError(int render_process_id, | 460 virtual void AllowCertificateError(int render_process_id, |
| 455 int render_frame_id, | 461 int render_frame_id, |
| 456 int cert_error, | 462 int cert_error, |
| 457 const net::SSLInfo& ssl_info, | 463 const net::SSLInfo& ssl_info, |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 745 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 740 // implementation. Return nullptr to disable external surface video. | 746 // implementation. Return nullptr to disable external surface video. |
| 741 virtual ExternalVideoSurfaceContainer* | 747 virtual ExternalVideoSurfaceContainer* |
| 742 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 748 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 743 #endif | 749 #endif |
| 744 }; | 750 }; |
| 745 | 751 |
| 746 } // namespace content | 752 } // namespace content |
| 747 | 753 |
| 748 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 754 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |