Index: chrome/browser/chromeos/attestation/platform_verification_dialog.h |
diff --git a/chrome/browser/chromeos/attestation/platform_verification_dialog.h b/chrome/browser/chromeos/attestation/platform_verification_dialog.h |
index e33ebd0e9fd2f4255158f7c7e9b3059b196074aa..5d0d87927eec2c3c8291f15bd27e2ef524327de0 100644 |
--- a/chrome/browser/chromeos/attestation/platform_verification_dialog.h |
+++ b/chrome/browser/chromeos/attestation/platform_verification_dialog.h |
@@ -26,8 +26,12 @@ class PlatformVerificationDialog : public views::DialogDelegateView, |
public content::WebContentsObserver { |
public: |
// Initializes a tab-modal dialog for |web_contents| and shows it. |
- static void ShowDialog( |
+ // Returns a non-owning pointer to the widget so that caller can close the |
+ // dialog and cancel the request. The returned widget is only guaranteed to be |
+ // valid before |callback| is returned. |
ddorwin
2015/02/05 02:23:23
s/returned/called/?
xhwang
2015/02/05 02:49:34
Done.
|
+ static views::Widget* ShowDialog( |
content::WebContents* web_contents, |
+ const GURL& requesting_origin, |
const PlatformVerificationFlow::Delegate::ConsentCallback& callback); |
protected: |