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

Unified Diff: chrome/common/form_data.h

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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/common/form_data.h
diff --git a/webkit/forms/form_data.h b/chrome/common/form_data.h
similarity index 73%
rename from webkit/forms/form_data.h
rename to chrome/common/form_data.h
index da9b0e88c98bd28e8b6048d944927f867425dd92..3c227c82e2a1d65332218196b939acfa5d6f3f04 100644
--- a/webkit/forms/form_data.h
+++ b/chrome/common/form_data.h
@@ -2,21 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FORMS_FORM_DATA_H__
-#define WEBKIT_FORMS_FORM_DATA_H__
+#ifndef CHROME_COMMON_FORM_DATA_H__
+#define CHROME_COMMON_FORM_DATA_H__
#include <vector>
#include "base/string16.h"
+#include "chrome/common/form_field.h"
#include "googleurl/src/gurl.h"
-#include "webkit/forms/form_field.h"
-#include "webkit/forms/webkit_forms_export.h"
-namespace webkit {
-namespace forms {
+namespace chrome {
// Holds information about a form to be filled and/or submitted.
-struct WEBKIT_FORMS_EXPORT FormData {
+struct FormData {
// The name of the form.
string16 name;
// GET or POST.
@@ -38,7 +36,6 @@ struct WEBKIT_FORMS_EXPORT FormData {
bool operator==(const FormData& form) const;
};
-} // namespace forms
-} // namespace webkit
+} // namespace chrome
-#endif // WEBKIT_FORMS_FORM_DATA_H__
+#endif // CHROME_COMMON_FORM_DATA_H__

Powered by Google App Engine
This is Rietveld 408576698