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

Unified Diff: chrome/browser/autofill/form_structure_unittest.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Mostly cosmetic fixup Created 8 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: chrome/browser/autofill/form_structure_unittest.cc
diff --git a/chrome/browser/autofill/form_structure_unittest.cc b/chrome/browser/autofill/form_structure_unittest.cc
index 811c69eb0709289d063d7b9dae3e5c53b61e5091..36248b23d17e1880bdecdf611d2e6d6b07423043 100644
--- a/chrome/browser/autofill/form_structure_unittest.cc
+++ b/chrome/browser/autofill/form_structure_unittest.cc
@@ -6,18 +6,17 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autofill/form_structure.h"
+#include "content/public/common/form_data.h"
+#include "content/public/common/form_field.h"
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
-#include "webkit/forms/form_data.h"
-#include "webkit/forms/form_field.h"
-using webkit::forms::FormData;
-using webkit::forms::FormField;
+using content::FormData;
+using content::FormField;
using WebKit::WebInputElement;
-namespace webkit {
-namespace forms {
+namespace content {
std::ostream& operator<<(std::ostream& os, const FormData& form) {
os << UTF16ToUTF8(form.name)
@@ -29,7 +28,7 @@ std::ostream& operator<<(std::ostream& os, const FormData& form) {
<< form.action.spec()
<< " ";
- for (std::vector<webkit::forms::FormField>::const_iterator iter =
+ for (std::vector<content::FormField>::const_iterator iter =
stuartmorgan 2012/10/02 12:17:51 Since we have a using directive, and this is in th
blundell 2012/10/03 15:06:07 Done.
form.fields.begin();
iter != form.fields.end(); ++iter) {
os << *iter
@@ -39,8 +38,7 @@ std::ostream& operator<<(std::ostream& os, const FormData& form) {
return os;
}
-} // namespace forms
-} // namespace webkit_glue
+} // namespace content
class FormStructureTest {
public:

Powered by Google App Engine
This is Rietveld 408576698