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

Unified Diff: components/autofill/content/renderer/password_autofill_agent.h

Issue 231283003: Password manager: introduce logging for the internals page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 6 years, 8 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/autofill/content/renderer/password_autofill_agent.h
diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h
index 2e45d46b5ef74ef01a11e4d59e2e43a59820b717..24a7aa9099f7f7e37200b66cc1db11d9f4b64e14 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -130,6 +130,7 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
// RenderView IPC handlers:
void OnFillPasswordForm(const PasswordFormFillData& form_data);
+ void OnChangeLoggingState(bool active);
// Scans the given frame for password forms and sends them up to the browser.
// If |only_visible| is true, only forms visible in the layout are sent.
@@ -195,6 +196,9 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
PasswordValueGatekeeper gatekeeper_;
+ // True indicates that user debug information should be logged.
+ bool logging_state_active_;
+
base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent);

Powered by Google App Engine
This is Rietveld 408576698