| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ | 5 #ifndef CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ |
| 6 #define CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ | 6 #define CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 class WebDocument; | 11 class WebDocument; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace autofill { | 14 namespace autofill { |
| 15 | 15 |
| 16 class TestPasswordGenerationAgent; | 16 class TestPasswordGenerationAgent; |
| 17 | 17 |
| 18 void SetNotBlacklistedMessage(TestPasswordGenerationAgent* generation_agent, | 18 void SetNotBlacklistedMessage(TestPasswordGenerationAgent* generation_agent, |
| 19 const char* form_str); | 19 const char* form_str); |
| 20 void SetAccountCreationFormsDetectedMessage(TestPasswordGenerationAgent* agent, | 20 void SetAccountCreationFormsDetectedMessage(TestPasswordGenerationAgent* agent, |
| 21 blink::WebDocument document, | 21 blink::WebDocument document, |
| 22 int form_index); | 22 int form_index); |
| 23 void ExpectPasswordGenerationAvailable(TestPasswordGenerationAgent* agent, |
| 24 bool available); |
| 23 | 25 |
| 24 } // namespace autofill | 26 } // namespace autofill |
| 25 | 27 |
| 26 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ | 28 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ |
| OLD | NEW |