| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gfx/png_decoder.h" | 11 #include "base/gfx/png_decoder.h" |
| 12 #include "base/gfx/png_encoder.h" | 12 #include "base/gfx/png_encoder.h" |
| 13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "chrome/browser/history/history_database.h" | 16 #include "chrome/browser/history/history_database.h" |
| 17 #include "chrome/browser/password_manager/encryptor.h" | 17 #include "chrome/browser/password_manager/encryptor.h" |
| 18 #include "chrome/browser/template_url.h" | 18 #include "chrome/browser/search_engines/template_url.h" |
| 19 #include "chrome/common/l10n_util.h" | 19 #include "chrome/common/l10n_util.h" |
| 20 #include "chrome/common/scoped_vector.h" | 20 #include "chrome/common/scoped_vector.h" |
| 21 #include "webkit/glue/password_form.h" | 21 #include "webkit/glue/password_form.h" |
| 22 | 22 |
| 23 //////////////////////////////////////////////////////////////////////////////// | 23 //////////////////////////////////////////////////////////////////////////////// |
| 24 // | 24 // |
| 25 // Schema | 25 // Schema |
| 26 // | 26 // |
| 27 // keywords Most of the columns mirror that of a field in | 27 // keywords Most of the columns mirror that of a field in |
| 28 // TemplateURL. See TemplateURL for more details. | 28 // TemplateURL. See TemplateURL for more details. |
| (...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1134 | 1134 |
| 1135 // Add successive versions here. Each should set the version number and | 1135 // Add successive versions here. Each should set the version number and |
| 1136 // compatible version number as appropriate, then fall through to the next | 1136 // compatible version number as appropriate, then fall through to the next |
| 1137 // case. | 1137 // case. |
| 1138 | 1138 |
| 1139 case kCurrentVersionNumber: | 1139 case kCurrentVersionNumber: |
| 1140 // No migration needed. | 1140 // No migration needed. |
| 1141 return; | 1141 return; |
| 1142 } | 1142 } |
| 1143 } | 1143 } |
| OLD | NEW |