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

Side by Side Diff: components/autofill/core/browser/autofill_type.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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/browser/autofill_type.h" 5 #include "components/autofill/core/browser/autofill_type.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 namespace autofill { 11 namespace autofill {
12 12
13 AutofillType::AutofillType(AutofillFieldType field_type) { 13 AutofillType::AutofillType(AutofillFieldType field_type) {
14 if ((field_type < NO_SERVER_DATA || field_type >= MAX_VALID_FIELD_TYPE) || 14 if ((field_type < NO_SERVER_DATA || field_type >= MAX_VALID_FIELD_TYPE) ||
15 (field_type >= 15 && field_type <= 19) || 15 (field_type >= 15 && field_type <= 19) ||
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 if (str == "CREDIT_CARD_VERIFICATION_CODE") 356 if (str == "CREDIT_CARD_VERIFICATION_CODE")
357 return CREDIT_CARD_VERIFICATION_CODE; 357 return CREDIT_CARD_VERIFICATION_CODE;
358 if (str == "COMPANY_NAME") 358 if (str == "COMPANY_NAME")
359 return COMPANY_NAME; 359 return COMPANY_NAME;
360 360
361 NOTREACHED() << "Unknown AutofillFieldType " << str; 361 NOTREACHED() << "Unknown AutofillFieldType " << str;
362 return UNKNOWN_TYPE; 362 return UNKNOWN_TYPE;
363 } 363 }
364 364
365 } // namespace autofill 365 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_type.h ('k') | components/autofill/core/browser/autofill_type_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698