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

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

Issue 1184913002: [Password Manager] Suppress UI when password generation is active (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 6 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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698