OLD | NEW |
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/core/browser/webdata/autofill_table.h" | 5 #include "components/autofill/core/browser/webdata/autofill_table.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <limits> | 9 #include <limits> |
10 #include <map> | 10 #include <map> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "base/tuple.h" | 22 #include "base/tuple.h" |
23 #include "components/autofill/core/browser/autofill_country.h" | 23 #include "components/autofill/core/browser/autofill_country.h" |
24 #include "components/autofill/core/browser/autofill_profile.h" | 24 #include "components/autofill/core/browser/autofill_profile.h" |
25 #include "components/autofill/core/browser/autofill_type.h" | 25 #include "components/autofill/core/browser/autofill_type.h" |
26 #include "components/autofill/core/browser/credit_card.h" | 26 #include "components/autofill/core/browser/credit_card.h" |
27 #include "components/autofill/core/browser/personal_data_manager.h" | 27 #include "components/autofill/core/browser/personal_data_manager.h" |
28 #include "components/autofill/core/browser/webdata/autofill_change.h" | 28 #include "components/autofill/core/browser/webdata/autofill_change.h" |
29 #include "components/autofill/core/browser/webdata/autofill_entry.h" | 29 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
30 #include "components/autofill/core/common/form_field_data.h" | 30 #include "components/autofill/core/common/form_field_data.h" |
31 #include "components/encryptor/os_crypt.h" | 31 #include "components/os_crypt/os_crypt.h" |
32 #include "components/webdata/common/web_database.h" | 32 #include "components/webdata/common/web_database.h" |
33 #include "sql/statement.h" | 33 #include "sql/statement.h" |
34 #include "sql/transaction.h" | 34 #include "sql/transaction.h" |
35 #include "ui/base/l10n/l10n_util.h" | 35 #include "ui/base/l10n/l10n_util.h" |
36 #include "url/gurl.h" | 36 #include "url/gurl.h" |
37 | 37 |
38 using base::Time; | 38 using base::Time; |
39 | 39 |
40 namespace autofill { | 40 namespace autofill { |
41 namespace { | 41 namespace { |
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 !db_->Execute("CREATE INDEX autofill_name_value_lower ON " | 2179 !db_->Execute("CREATE INDEX autofill_name_value_lower ON " |
2180 "autofill (name, value_lower)")) { | 2180 "autofill (name, value_lower)")) { |
2181 return false; | 2181 return false; |
2182 } | 2182 } |
2183 | 2183 |
2184 | 2184 |
2185 return transaction.Commit(); | 2185 return transaction.Commit(); |
2186 } | 2186 } |
2187 | 2187 |
2188 } // namespace autofill | 2188 } // namespace autofill |
OLD | NEW |