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

Unified Diff: webkit/forms/password_form.h

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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
« no previous file with comments | « webkit/forms/form_field_predictions.cc ('k') | webkit/forms/password_form.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/forms/password_form.h
diff --git a/webkit/glue/password_form.h b/webkit/forms/password_form.h
similarity index 95%
rename from webkit/glue/password_form.h
rename to webkit/forms/password_form.h
index cb27003a55aabb799c089da5206205471fb3a747..dc2df54f5e5baef7dc6ebe22307812ddf20c2010 100644
--- a/webkit/glue/password_form.h
+++ b/webkit/forms/password_form.h
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_GLUE_PASSWORD_FORM_H__
-#define WEBKIT_GLUE_PASSWORD_FORM_H__
+#ifndef WEBKIT_FORMS_PASSWORD_FORM_H__
+#define WEBKIT_FORMS_PASSWORD_FORM_H__
-#include <string>
#include <map>
+#include <string>
#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPasswordFormData.h"
-#include "webkit/glue/webkit_glue_export.h"
+#include "webkit/forms/webkit_forms_export.h"
-namespace webkit_glue {
+namespace webkit {
+namespace forms {
// The PasswordForm struct encapsulates information about a login form,
// which can be an HTML form or a dialog with username/password text fields.
@@ -37,7 +38,7 @@ namespace webkit_glue {
// describe which fields are not strictly required when adding a saved password
// entry to the database and how they can affect the matching process.
-struct WEBKIT_GLUE_EXPORT PasswordForm {
+struct WEBKIT_FORMS_EXPORT PasswordForm {
// Enum to differentiate between HTML form based authentication, and dialogs
// using basic or digest schemes. Default is SCHEME_HTML. Only PasswordForms
// of the same Scheme will be matched/autofilled against each other.
@@ -144,6 +145,7 @@ struct WEBKIT_GLUE_EXPORT PasswordForm {
// Map username to PasswordForm* for convenience. See password_form_manager.h.
typedef std::map<string16, PasswordForm*> PasswordFormMap;
-} // namespace webkit_glue
+} // namespace forms
+} // namespace webkit
-#endif // WEBKIT_GLUE_PASSWORD_FORM_H__
+#endif // WEBKIT_FORMS_PASSWORD_FORM_H__
« no previous file with comments | « webkit/forms/form_field_predictions.cc ('k') | webkit/forms/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698