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

Side by Side Diff: chrome/renderer/autofill/password_generation_test_utils.h

Issue 2750323003: [Password Manager] Replace WebInputElement.setValue with WebInputElement.setAutofillValue (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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 #include <vector>
9 10
10 namespace blink { 11 namespace blink {
11 class WebDocument; 12 class WebDocument;
12 } 13 }
13 14
14 namespace autofill { 15 namespace autofill {
15 16
16 class TestPasswordGenerationAgent; 17 class TestPasswordGenerationAgent;
17 18
18 void SetNotBlacklistedMessage(TestPasswordGenerationAgent* generation_agent, 19 void SetNotBlacklistedMessage(TestPasswordGenerationAgent* generation_agent,
19 const char* form_str); 20 const char* form_str);
20 void SetAccountCreationFormsDetectedMessage(TestPasswordGenerationAgent* agent, 21 void SetAccountCreationFormsDetectedMessage(TestPasswordGenerationAgent* agent,
21 blink::WebDocument document, 22 blink::WebDocument document,
22 int form_index, 23 int form_index,
23 int field_index); 24 int field_index);
25
26 std::string CreateScriptToRegisterListeners(
27 const char* const element_name,
28 std::vector<std::string>* variables_to_check);
29
24 } // namespace autofill 30 } // namespace autofill
25 31
26 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_ 32 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698