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

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: Nit 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..f3085b000711bbe2add10bc308b90cf09130e2fb
--- /dev/null
+++ b/components/autofill/browser/test_autofill_driver.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
Ilya Sherman 2013/06/12 00:07:46 ultra nit: Please omit the "(c)"
blundell 2013/06/12 16:29:37 Done.
+// 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) {
+}
Ilya Sherman 2013/06/12 00:07:46 nit: Please move the closing curly brace to the pr
blundell 2013/06/12 16:29:37 Done.
+
+TestAutofillDriver::~TestAutofillDriver() {}
+
+content::WebContents* TestAutofillDriver::GetWebContents() {
+ return web_contents();
+}
+
+} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698