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

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: Make password generation checkbox hidden by the command flag. 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..073615715f9d40d8366ef1837ae114c259d2c10e 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 auto password generation is enabled for the profile associated
Ilya Sherman 2012/05/01 22:27:48 nit: Please omit "auto"
zysxqn 2012/05/03 00:57:24 Done.
+ // with this renderer.
bool enabled_;
std::pair<WebKit::WebInputElement,

Powered by Google App Engine
This is Rietveld 408576698