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

Side by Side Diff: components/autofill/content/browser/wallet/form_field_error.cc

Issue 655433004: Get rid of unnecessary forward declarations in components/autofill/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/content/browser/wallet/form_field_error.h" 5 #include "components/autofill/content/browser/wallet/form_field_error.h"
6 6
7 #include "base/logging.h"
Ilya Sherman 2014/10/16 16:53:43 The NOTREACHED() macro uses this #include.
Sunil Ratnu 2014/10/17 02:45:59 Done.
8 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
10 #include "base/values.h" 9 #include "base/values.h"
11 10
12 namespace autofill { 11 namespace autofill {
13 namespace wallet { 12 namespace wallet {
14 13
15 namespace { 14 namespace {
16 15
17 FormFieldError::ErrorType ErrorTypeFromString(const std::string& error_type) { 16 FormFieldError::ErrorType ErrorTypeFromString(const std::string& error_type) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 144
146 return form_field_error; 145 return form_field_error;
147 } 146 }
148 147
149 bool FormFieldError::operator==(const FormFieldError& other) const { 148 bool FormFieldError::operator==(const FormFieldError& other) const {
150 return error_type_ == other.error_type_ && location_ == other.location_; 149 return error_type_ == other.error_type_ && location_ == other.location_;
151 } 150 }
152 151
153 } // namespace wallet 152 } // namespace wallet
154 } // namespace autofill 153 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698