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

Unified Diff: chrome/renderer/autofill/password_generation_manager.h

Issue 10168017: Only enable password generation if password manager and autofill are both (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_asan Created 8 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: chrome/renderer/autofill/password_generation_manager.h
diff --git a/chrome/renderer/autofill/password_generation_manager.h b/chrome/renderer/autofill/password_generation_manager.h
index a8c4bd8688888dce2a93be62dc643899675c6dcd..85a9bb5967f29019282eb165b695922881d303a3 100644
--- a/chrome/renderer/autofill/password_generation_manager.h
+++ b/chrome/renderer/autofill/password_generation_manager.h
@@ -42,9 +42,9 @@ class PasswordGenerationManager : public content::RenderViewObserver {
void OnPasswordAccepted(const string16& password);
void OnPasswordSyncEnabled(bool enabled);
- // True if password sync is enabled for the profile associated with this
+ // True if the browser believes that generating passwords is okay for this
// renderer.
- bool sync_enabled_;
+ bool enabled_;
std::pair<WebKit::WebInputElement,
std::vector<WebKit::WebInputElement> > account_creation_elements_;

Powered by Google App Engine
This is Rietveld 408576698