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

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

Issue 257803004: Add a test for toggling logging in PasswordAutofillAgent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 24a7aa9099f7f7e37200b66cc1db11d9f4b64e14..b73147375638dbb81d31c5ad6056da1b5107c1e9 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -64,6 +64,9 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
virtual bool OriginCanAccessPasswordManager(
const blink::WebSecurityOrigin& origin);
+ // Only for tests.
+ bool logging_state_active() const { return logging_state_active_; }
+
private:
friend class PasswordAutofillAgentTest;

Powered by Google App Engine
This is Rietveld 408576698