Index: chrome/browser/chromeos/attestation/platform_verification_flow.h |
diff --git a/chrome/browser/chromeos/attestation/platform_verification_flow.h b/chrome/browser/chromeos/attestation/platform_verification_flow.h |
index a48b11cfd79270813126dbee17d89a298ab54224..48b5de56af7777e220541b7902ebcbc9a45c5f97 100644 |
--- a/chrome/browser/chromeos/attestation/platform_verification_flow.h |
+++ b/chrome/browser/chromeos/attestation/platform_verification_flow.h |
@@ -92,9 +92,10 @@ class PlatformVerificationFlow |
// Invokes consent UI within the context of |web_contents| and calls |
// |callback| when the user responds. |
- // Precondition: The last committed URL for |web_contents| has a valid |
- // origin. |
+ // |requesting_origin| or the extension/app name will be shown on the prompt |
+ // if the request comes from a web page or an extension/app, respectively. |
virtual void ShowConsentPrompt(content::WebContents* web_contents, |
+ const GURL& requesting_origin, |
const ConsentCallback& callback) = 0; |
// Gets prefs associated with the given |web_contents|. If no prefs are |