Index: chrome/browser/content_settings/permission_context_base.h |
diff --git a/chrome/browser/content_settings/permission_context_base.h b/chrome/browser/content_settings/permission_context_base.h |
index d2370c7a585f9fbc5d92243d18fb7d92ba4b9694..b7dfa5692eeee1297030d39eb2945143abdfb159 100644 |
--- a/chrome/browser/content_settings/permission_context_base.h |
+++ b/chrome/browser/content_settings/permission_context_base.h |
@@ -15,6 +15,10 @@ |
#include "components/keyed_service/core/keyed_service.h" |
#include "url/gurl.h" |
+#if defined(OS_CHROMEOS) |
+#include "chrome/browser/chromeos/attestation/platform_verification_flow.h" |
+#endif |
+ |
class PermissionQueueController; |
class PermissionRequestID; |
class Profile; |
@@ -123,6 +127,15 @@ class PermissionContextBase : public KeyedService { |
// Called when a bubble is no longer used so it can be cleaned up. |
void CleanUpBubble(const PermissionRequestID& id); |
+#if defined(OS_CHROMEOS) |
+ typedef base::Callback<void(bool /* persist */, bool /* allowed */)> |
+ PermissionCallback; |
+ void OnPlatformVerificationResult( |
+ const PermissionCallback& permission_callback, |
+ chromeos::attestation::PlatformVerificationFlow::ConsentResponse |
+ response); |
+#endif |
+ |
Profile* profile_; |
const ContentSettingsType permission_type_; |
scoped_ptr<PermissionQueueController> permission_queue_controller_; |