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

Unified Diff: chrome/browser/ui/passwords/password_ui_view.h

Issue 34393007: [Win] Add option to reauthenticate the OS user before revealing passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@password
Patch Set: rebase. remove one unneeded commit. add support for changes in 39253002 Created 7 years, 1 month 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/ui/passwords/password_ui_view.h
diff --git a/chrome/browser/ui/passwords/password_ui_view.h b/chrome/browser/ui/passwords/password_ui_view.h
index be925f8c297b5aae9775ef87bdaf6174c47f1c22..b018a3fade1cf06d9773a023bd42c1f1556c2c17 100644
--- a/chrome/browser/ui/passwords/password_ui_view.h
+++ b/chrome/browser/ui/passwords/password_ui_view.h
@@ -11,6 +11,10 @@ namespace autofill {
struct PasswordForm;
}
+namespace content {
+class WebContents;
+}
+
class Profile;
// An interface for a passwords UI View. A UI view is responsible for
@@ -39,6 +43,9 @@ class PasswordUIView {
// |password_exception_list| The list of saved password exceptions.
virtual void SetPasswordExceptionList(
const ScopedVector<autofill::PasswordForm>& password_exception_list) = 0;
+
+ // Returns the WebContents for the view
+ virtual content::WebContents* GetWebContents() = 0;
Patrick Dubroy 2013/11/27 16:59:18 I don't think this makes sense. This interface is
};
#endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698