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

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

Issue 10787023: Adding UMA stats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the test. Created 8 years, 5 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 0e72a71ddb7ca8c7ce6b55a5fc6110d1e5e8385f..5d9d3ac9e271c76a368a1d3902b688f7902a4ca3 100644
--- a/chrome/renderer/autofill/password_generation_manager.h
+++ b/chrome/renderer/autofill/password_generation_manager.h
@@ -14,6 +14,10 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextFieldDecoratorClient.h"
+namespace password_generation {
+class PasswordGenerationStatus;
+}
+
namespace WebKit {
class WebCString;
class WebDocument;
@@ -61,7 +65,8 @@ class PasswordGenerationManager : public content::RenderViewObserver,
// Message handlers.
void OnFormNotBlacklisted(const webkit::forms::PasswordForm& form);
- void OnPasswordAccepted(const string16& password);
+ void OnPasswordGenerationBubbleClosed(
+ const password_generation::PasswordGenerationStatus& status);
void OnPasswordGenerationEnabled(bool enabled);
// Helper function to decide whether we should show password generation icon.

Powered by Google App Engine
This is Rietveld 408576698