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

Unified Diff: components/autofill/core/browser/form_structure.h

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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/core/browser/form_structure.h
diff --git a/components/autofill/core/browser/form_structure.h b/components/autofill/core/browser/form_structure.h
index 1af765057c25ac7c2d127f9323e8bae3e85003cc..0eebbe0d29980fa798801f38555b6444adc30c75 100644
--- a/components/autofill/core/browser/form_structure.h
+++ b/components/autofill/core/browser/form_structure.h
@@ -36,6 +36,8 @@ namespace buzz {
class XmlElement;
}
+FORWARD_DECLARE_TEST(PasswordGenerationManagerTest, DetectAccountCreationForms);
+
namespace autofill {
class AutofillMetrics;
@@ -174,6 +176,8 @@ class FormStructure {
private:
friend class FormStructureTest;
+ FRIEND_TEST_ALL_PREFIXES(::PasswordGenerationManagerTest,
+ DetectAccountCreationForms);
Ilya Sherman 2013/08/29 23:08:13 What exactly do you need to use from the private s
zysxqn 2013/09/03 23:00:20 Done.
FRIEND_TEST_ALL_PREFIXES(AutofillDownloadTest, QueryAndUploadTest);
// 64-bit hash of the string - used in FormSignature and unit-tests.

Powered by Google App Engine
This is Rietveld 408576698