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

Side by Side Diff: components/autofill/core/browser/contact_info.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/contact_info.h" 5 #include "components/autofill/core/browser/contact_info.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <ostream> 8 #include <ostream>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "components/autofill/browser/autofill_type.h" 15 #include "components/autofill/core/browser/autofill_type.h"
16 #include "components/autofill/browser/field_types.h" 16 #include "components/autofill/core/browser/field_types.h"
17 17
18 namespace autofill { 18 namespace autofill {
19 19
20 static const AutofillFieldType kAutofillNameInfoTypes[] = { 20 static const AutofillFieldType kAutofillNameInfoTypes[] = {
21 NAME_FIRST, 21 NAME_FIRST,
22 NAME_MIDDLE, 22 NAME_MIDDLE,
23 NAME_LAST 23 NAME_LAST
24 }; 24 };
25 25
26 static const size_t kAutofillNameInfoLength = 26 static const size_t kAutofillNameInfoLength =
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 return base::string16(); 193 return base::string16();
194 } 194 }
195 195
196 void CompanyInfo::SetRawInfo(AutofillFieldType type, 196 void CompanyInfo::SetRawInfo(AutofillFieldType type,
197 const base::string16& value) { 197 const base::string16& value) {
198 DCHECK_EQ(COMPANY_NAME, type); 198 DCHECK_EQ(COMPANY_NAME, type);
199 company_name_ = value; 199 company_name_ = value;
200 } 200 }
201 201
202 } // namespace autofill 202 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/contact_info.h ('k') | components/autofill/core/browser/contact_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698