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

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

Issue 10222017: Make password generation switched by a preference in chrome settings rather than a command line fla… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes according to code reviews 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 85a9bb5967f29019282eb165b695922881d303a3..8aa656f96505e095955bdd58c808646c3250ded9 100644
--- a/chrome/renderer/autofill/password_generation_manager.h
+++ b/chrome/renderer/autofill/password_generation_manager.h
@@ -40,10 +40,10 @@ class PasswordGenerationManager : public content::RenderViewObserver {
// Message handlers.
void OnPasswordAccepted(const string16& password);
- void OnPasswordSyncEnabled(bool enabled);
+ void OnPasswordGenerationEnabled(bool enabled);
- // True if the browser believes that generating passwords is okay for this
- // renderer.
+ // True if password generation is enabled for the profile associated
+ // with this renderer.
bool enabled_;
std::pair<WebKit::WebInputElement,

Powered by Google App Engine
This is Rietveld 408576698