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

Side by Side Diff: components/autofill/browser/autofill_type.h

Issue 13973004: Convert string16 -> base::string16 in components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Utilities for serializing and deserializing an |AutofillFieldType|. 42 // Utilities for serializing and deserializing an |AutofillFieldType|.
43 static std::string FieldTypeToString(AutofillFieldType field_type); 43 static std::string FieldTypeToString(AutofillFieldType field_type);
44 static AutofillFieldType StringToFieldType(const std::string& str); 44 static AutofillFieldType StringToFieldType(const std::string& str);
45 45
46 private: 46 private:
47 AutofillFieldType field_type_; 47 AutofillFieldType field_type_;
48 }; 48 };
49 49
50 typedef AutofillType::FieldTypeGroup FieldTypeGroup; 50 typedef AutofillType::FieldTypeGroup FieldTypeGroup;
51 typedef std::set<AutofillFieldType> FieldTypeSet; 51 typedef std::set<AutofillFieldType> FieldTypeSet;
52 typedef std::map<string16, AutofillFieldType> FieldTypeMap; 52 typedef std::map<base::string16, AutofillFieldType> FieldTypeMap;
53 53
54 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_ 54 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698