Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4179)

Unified Diff: chrome/browser/media/protected_media_identifier_permission_context.h

Issue 1001723002: media: Refactor PlatformVerificationFlow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/protected_media_identifier_permission_context.h
diff --git a/chrome/browser/media/protected_media_identifier_permission_context.h b/chrome/browser/media/protected_media_identifier_permission_context.h
index 4cc94f55d2beea10025b9de9975dea2da739e30c..97ed261dc0663fe2292db260bc7e446747f11c17 100644
--- a/chrome/browser/media/protected_media_identifier_permission_context.h
+++ b/chrome/browser/media/protected_media_identifier_permission_context.h
@@ -54,18 +54,20 @@ class ProtectedMediaIdentifierPermissionContext
const GURL& requesting_frame,
bool allowed) override;
- // Returns whether "Protected content" is enabled. It can be disabled by a
- // user in the master switch in content settings, or by the device policy.
+ // Returns whether "Protected content" is enabled considering factors other
ddorwin 2015/03/12 00:28:32 nit: comma after enabled. Or, perhaps s/considerin
+ // than the protected media identifier content setting itself. For example,
+ // it can be disabled by a master switch in content settings, in incognito or
ddorwin 2015/03/12 00:28:32 tiny nit: Capital I and G
+ // guest mode, or by the device policy.
bool IsProtectedMediaIdentifierEnabled() const;
#if defined(OS_CHROMEOS)
- void OnPlatformVerificationResult(
+ void OnPlatformVerificationConsentResponse(
content::WebContents* web_contents,
const PermissionRequestID& id,
const GURL& requesting_origin,
const GURL& embedding_origin,
const BrowserPermissionCallback& callback,
- chromeos::attestation::PlatformVerificationFlow::ConsentResponse
+ chromeos::attestation::PlatformVerificationDialog::ConsentResponse
response);
// |this| is shared among multiple WebContents, so we could receive multiple

Powered by Google App Engine
This is Rietveld 408576698