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

Side by Side Diff: components/autofill/common/form_data.h

Issue 16879006: In components/autofill, move common/ to core/common/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_AUTOFILL_COMMON_FORM_DATA_H__
6 #define COMPONENTS_AUTOFILL_COMMON_FORM_DATA_H__
7
8 #include <vector>
9
10 #include "base/strings/string16.h"
11 #include "components/autofill/common/form_field_data.h"
12 #include "content/public/common/ssl_status.h"
13 #include "googleurl/src/gurl.h"
14
15 namespace autofill {
16
17 // Holds information about a form to be filled and/or submitted.
18 struct FormData {
19 FormData();
20 FormData(const FormData& data);
21 ~FormData();
22
23 // Used by FormStructureTest.
24 bool operator==(const FormData& form) const;
25 bool operator!=(const FormData& form) const;
26
27 // The name of the form.
28 base::string16 name;
29 // GET or POST.
30 base::string16 method;
31 // The URL (minus query parameters) containing the form.
32 GURL origin;
33 // The action target of the form.
34 GURL action;
35 // true if this form was submitted by a user gesture and not javascript.
36 bool user_submitted;
37 // A vector of all the input fields in the form.
38 std::vector<FormFieldData> fields;
39 // SSL status of the frame contatining the form.
40 content::SSLStatus ssl_status;
41 };
42
43 } // namespace autofill
44
45 #endif // COMPONENTS_AUTOFILL_COMMON_FORM_DATA_H__
OLDNEW
« no previous file with comments | « components/autofill/common/autofill_switches.cc ('k') | components/autofill/common/form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698