Return Windows error code when create-process fails.
[chromium-blink-merge.git] / chrome / renderer / autofill / password_generation_test_utils.h
blobc99f123d6fae41d0fbfd8bb49a37deb54072664d
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
3 // found in the LICENSE file.
5 #ifndef CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_
6 #define CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_
8 #include <string>
10 namespace blink {
11 class WebDocument;
14 namespace autofill {
16 class TestPasswordGenerationAgent;
18 void SetNotBlacklistedMessage(TestPasswordGenerationAgent* generation_agent,
19 const char* form_str);
20 void SetAccountCreationFormsDetectedMessage(TestPasswordGenerationAgent* agent,
21 blink::WebDocument document,
22 int form_index);
23 void ExpectPasswordGenerationAvailable(TestPasswordGenerationAgent* agent,
24 bool available);
26 } // namespace autofill
28 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_GENERATION_TEST_UTILS_H_