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

Unified Diff: components/autofill/browser/test_autofill_driver.cc

Issue 16286020: Abstract WebContentsObserver from Autofill shared code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to fix conflict Created 7 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/browser/test_autofill_driver.cc
diff --git a/components/autofill/browser/test_autofill_driver.cc b/components/autofill/browser/test_autofill_driver.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3fb24eaba32a5ea4db024db0e5bbe94adc1d5f43
--- /dev/null
+++ b/components/autofill/browser/test_autofill_driver.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "components/autofill/browser/test_autofill_driver.h"
+
+namespace autofill {
+
+TestAutofillDriver::TestAutofillDriver(content::WebContents* web_contents)
+ : content::WebContentsObserver(web_contents) {}
+
+TestAutofillDriver::~TestAutofillDriver() {}
+
+content::WebContents* TestAutofillDriver::GetWebContents() {
+ return web_contents();
+}
+
+} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698