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

Unified Diff: components/autofill/common/form_data.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/common/form_data.h ('k') | components/autofill/common/form_data_predictions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/common/form_data.cc
diff --git a/components/autofill/common/form_data.cc b/components/autofill/common/form_data.cc
deleted file mode 100644
index 0b7287d544a2d5172c22138dbc3a107fd655af35..0000000000000000000000000000000000000000
--- a/components/autofill/common/form_data.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/autofill/common/form_data.h"
-
-#include "base/strings/string_util.h"
-
-namespace autofill {
-
-FormData::FormData()
- : user_submitted(false) {
-}
-
-FormData::FormData(const FormData& data)
- : name(data.name),
- method(data.method),
- origin(data.origin),
- action(data.action),
- user_submitted(data.user_submitted),
- fields(data.fields),
- ssl_status(data.ssl_status) {
-}
-
-FormData::~FormData() {
-}
-
-bool FormData::operator==(const FormData& form) const {
- return (name == form.name &&
- StringToLowerASCII(method) == StringToLowerASCII(form.method) &&
- origin == form.origin &&
- action == form.action &&
- user_submitted == form.user_submitted &&
- fields == form.fields &&
- ssl_status.Equals(form.ssl_status));
-}
-
-bool FormData::operator!=(const FormData& form) const {
- return !operator==(form);
-}
-
-} // namespace autofill
« no previous file with comments | « components/autofill/common/form_data.h ('k') | components/autofill/common/form_data_predictions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698