OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/webdata/web_database.h" | 5 #include "chrome/browser/webdata/web_database.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "app/sql/statement.h" | 13 #include "app/sql/statement.h" |
14 #include "app/sql/transaction.h" | 14 #include "app/sql/transaction.h" |
15 #include "base/string_number_conversions.h" | 15 #include "base/string_number_conversions.h" |
| 16 #include "base/string_split.h" |
16 #include "base/string_util.h" | 17 #include "base/string_util.h" |
17 #include "base/tuple.h" | 18 #include "base/tuple.h" |
18 #include "base/utf_string_conversions.h" | 19 #include "base/utf_string_conversions.h" |
19 #include "chrome/browser/autofill/autofill_profile.h" | 20 #include "chrome/browser/autofill/autofill_profile.h" |
20 #include "chrome/browser/autofill/autofill_type.h" | 21 #include "chrome/browser/autofill/autofill_type.h" |
21 #include "chrome/browser/autofill/credit_card.h" | 22 #include "chrome/browser/autofill/credit_card.h" |
22 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" | 23 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" |
23 #include "chrome/browser/history/history_database.h" | 24 #include "chrome/browser/history/history_database.h" |
24 #include "chrome/browser/password_manager/encryptor.h" | 25 #include "chrome/browser/password_manager/encryptor.h" |
25 #include "chrome/browser/search_engines/template_url.h" | 26 #include "chrome/browser/search_engines/template_url.h" |
(...skipping 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2159 | 2160 |
2160 // Add successive versions here. Each should set the version number and | 2161 // Add successive versions here. Each should set the version number and |
2161 // compatible version number as appropriate, then fall through to the next | 2162 // compatible version number as appropriate, then fall through to the next |
2162 // case. | 2163 // case. |
2163 | 2164 |
2164 case kCurrentVersionNumber: | 2165 case kCurrentVersionNumber: |
2165 // No migration needed. | 2166 // No migration needed. |
2166 return; | 2167 return; |
2167 } | 2168 } |
2168 } | 2169 } |
OLD | NEW |