Chromium Code Reviews| Index: chrome/browser/autofill/autofill_manager.cc |
| =================================================================== |
| --- chrome/browser/autofill/autofill_manager.cc (revision 69787) |
| +++ chrome/browser/autofill/autofill_manager.cc (working copy) |
| @@ -5,7 +5,9 @@ |
| #include "chrome/browser/autofill/autofill_manager.h" |
| #include <limits> |
| +#include <map> |
| #include <set> |
| +#include <utility> |
| #include "app/l10n_util.h" |
| #include "base/basictypes.h" |
| @@ -21,7 +23,6 @@ |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/renderer_host/render_view_host.h" |
| #include "chrome/browser/tab_contents/tab_contents.h" |
| -#include "chrome/common/chrome_switches.h" |
| #include "chrome/common/guid.h" |
| #include "chrome/common/pref_names.h" |
| #include "chrome/common/url_constants.h" |
| @@ -39,8 +40,8 @@ |
| const double kAutoFillPositiveUploadRateDefaultValue = 0.01; |
| const double kAutoFillNegativeUploadRateDefaultValue = 0.01; |
| -const string16::value_type kCreditCardPrefix[] = {'*',0}; |
| -const string16::value_type kLabelSeparator[] = {';',' ','*',0}; |
| +const string16::value_type kCreditCardPrefix[] = {'*', 0}; |
| +const string16::value_type kLabelSeparator[] = {';', ' ', '*', 0}; |
|
James Hawkins
2010/12/22 21:54:36
Remove these spaces.
Lei Zhang
2011/01/08 01:51:36
The linter complains about them. I didn't see anyt
|
| // Removes duplicate suggestions whilst preserving their original order. |
| void RemoveDuplicateSuggestions(std::vector<string16>* values, |