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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver_factory.h

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix browser-side binding Created 4 years, 3 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: components/password_manager/content/browser/content_password_manager_driver_factory.h
diff --git a/components/password_manager/content/browser/content_password_manager_driver_factory.h b/components/password_manager/content/browser/content_password_manager_driver_factory.h
index dcfe5a376b93fabd3886ca70e71b960d9ad5f007..b8953185053d29c5f4ec03b35c89b0f8f4efdd89 100644
--- a/components/password_manager/content/browser/content_password_manager_driver_factory.h
+++ b/components/password_manager/content/browser/content_password_manager_driver_factory.h
@@ -17,6 +17,7 @@
#include "components/password_manager/core/browser/password_manager.h"
#include "components/password_manager/core/browser/password_manager_driver.h"
#include "content/public/browser/web_contents_observer.h"
+#include "third_party/WebKit/public/platform/modules/sensitive_input_visibility/sensitive_input_visibility_service.mojom.h"
namespace autofill {
class AutofillManager;
@@ -49,6 +50,10 @@ class ContentPasswordManagerDriverFactory
content::RenderFrameHost* render_frame_host,
autofill::mojom::PasswordManagerDriverRequest request);
+ static void BindSensitiveInputVisibilityService(
+ content::RenderFrameHost* render_frame_host,
+ blink::mojom::SensitiveInputVisibilityServiceRequest request);
+
ContentPasswordManagerDriver* GetDriverForFrame(
content::RenderFrameHost* render_frame_host);

Powered by Google App Engine
This is Rietveld 408576698