| 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 "app/l10n_util.h" |
| 11 #include "base/gfx/png_decoder.h" | 12 #include "base/gfx/png_decoder.h" |
| 12 #include "base/gfx/png_encoder.h" | 13 #include "base/gfx/png_encoder.h" |
| 13 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 14 #include "base/time.h" | 15 #include "base/time.h" |
| 15 #include "chrome/browser/history/history_database.h" | 16 #include "chrome/browser/history/history_database.h" |
| 16 #include "chrome/browser/search_engines/template_url.h" | 17 #include "chrome/browser/search_engines/template_url.h" |
| 17 #include "chrome/common/l10n_util.h" | |
| 18 #include "webkit/glue/password_form.h" | 18 #include "webkit/glue/password_form.h" |
| 19 | 19 |
| 20 // Encryptor is the *wrong* way of doing things; we need to turn it into a | 20 // Encryptor is the *wrong* way of doing things; we need to turn it into a |
| 21 // bottleneck to use the platform methods (e.g. Keychain on the Mac, Gnome | 21 // bottleneck to use the platform methods (e.g. Keychain on the Mac, Gnome |
| 22 // Keyring / KWallet on Linux). That's going to take a massive change in its | 22 // Keyring / KWallet on Linux). That's going to take a massive change in its |
| 23 // API... see: | 23 // API... see: |
| 24 // http://code.google.com/p/chromium/issues/detail?id=8205 (Linux) | 24 // http://code.google.com/p/chromium/issues/detail?id=8205 (Linux) |
| 25 #include "chrome/browser/password_manager/encryptor.h" | 25 #include "chrome/browser/password_manager/encryptor.h" |
| 26 | 26 |
| 27 //////////////////////////////////////////////////////////////////////////////// | 27 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1197 | 1197 |
| 1198 // Add successive versions here. Each should set the version number and | 1198 // Add successive versions here. Each should set the version number and |
| 1199 // compatible version number as appropriate, then fall through to the next | 1199 // compatible version number as appropriate, then fall through to the next |
| 1200 // case. | 1200 // case. |
| 1201 | 1201 |
| 1202 case kCurrentVersionNumber: | 1202 case kCurrentVersionNumber: |
| 1203 // No migration needed. | 1203 // No migration needed. |
| 1204 return; | 1204 return; |
| 1205 } | 1205 } |
| 1206 } | 1206 } |
| OLD | NEW |