Index: components/autofill/content/renderer/test_autofill_agent.h |
diff --git a/components/autofill/content/renderer/test_autofill_agent.h b/components/autofill/content/renderer/test_autofill_agent.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7af331cc9e1dee4a7087bd8a9ab873c313fed0b5 |
--- /dev/null |
+++ b/components/autofill/content/renderer/test_autofill_agent.h |
@@ -0,0 +1,38 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_AUTOFILL_AGENT_H_ |
+#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_AUTOFILL_AGENT_H_ |
+ |
+#include "components/autofill/content/renderer/autofill_agent.h" |
+ |
+namespace content { |
+class RenderView; |
+} |
+ |
+namespace autofill { |
+ |
+class PasswordAutofillAgent; |
+class PasswordGenerationAgent; |
+ |
+class TestAutofillAgent : public AutofillAgent { |
+ public: |
+ TestAutofillAgent(content::RenderView* render_view, |
+ PasswordAutofillAgent* password_autofill_manager, |
+ PasswordGenerationAgent* password_generation_agent); |
+ virtual ~TestAutofillAgent(); |
+ |
+ // AutofillAgent: |
+ using AutofillAgent::FormControlElementClicked; |
+ using AutofillAgent::textFieldDidEndEditing; |
+ using AutofillAgent::textFieldDidChange; |
+ using AutofillAgent::textFieldDidReceiveKeyDown; |
+ using AutofillAgent::didRequestAutocomplete; |
+ using AutofillAgent::OnFillPasswordSuggestion; |
+ using AutofillAgent::OnRequestAutocompleteResult; |
+}; |
+ |
+} // namespace autofill |
+ |
+#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_AUTOFILL_AGENT_H_ |