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

Unified Diff: components/autofill/browser/autofill_xml_parser.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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/autofill_xml_parser.h
diff --git a/chrome/browser/autofill/autofill_xml_parser.h b/components/autofill/browser/autofill_xml_parser.h
similarity index 93%
rename from chrome/browser/autofill/autofill_xml_parser.h
rename to components/autofill/browser/autofill_xml_parser.h
index e8e99b361c80ea9ab681a02f04ae682adf79c210..fc914f39a5c81d40bf656385d48c6221416b01ca 100644
--- a/chrome/browser/autofill/autofill_xml_parser.h
+++ b/components/autofill/browser/autofill_xml_parser.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_
-#define CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_
+#ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_XML_PARSER_H_
+#define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_XML_PARSER_H_
#include <string>
#include <vector>
@@ -11,9 +11,9 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/autofill/autofill_server_field_info.h"
-#include "chrome/browser/autofill/field_types.h"
-#include "chrome/browser/autofill/form_structure.h"
+#include "components/autofill/browser/autofill_server_field_info.h"
+#include "components/autofill/browser/field_types.h"
+#include "components/autofill/browser/form_structure.h"
#include "components/autofill/common/web_element_descriptor.h"
#include "third_party/libjingle/source/talk/xmllite/xmlparser.h"
@@ -66,8 +66,9 @@ class AutofillXmlParser : public buzz::XmlParseHandler {
// </autofillqueryresponse>
//
// Fields are returned in the same order they were sent to the server.
-// autofilltype: The server's guess at what type of field this is. 0 is
-// unknown, other types are documented in chrome/browser/autofill/field_types.h.
+// autofilltype: The server's guess at what type of field this is. 0
+// is unknown, other types are documented in
+// components/autofill/browser/field_types.h.
class AutofillQueryXmlParser : public AutofillXmlParser {
public:
AutofillQueryXmlParser(std::vector<AutofillServerFieldInfo>* field_infos,
@@ -163,4 +164,4 @@ class AutofillUploadXmlParser : public AutofillXmlParser {
DISALLOW_COPY_AND_ASSIGN(AutofillUploadXmlParser);
};
-#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_
+#endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_XML_PARSER_H_
« no previous file with comments | « components/autofill/browser/autofill_type_unittest.cc ('k') | components/autofill/browser/autofill_xml_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698