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

Unified Diff: components/autofill/content/renderer/test_autofill_agent.h

Issue 563313004: [Password Manager] Unfriend PasswordAutofillAgentTest from PasswordAutofillAgent (clean-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated review comments. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698