OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/logins_table.h" | 5 #include "chrome/browser/webdata/logins_table.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "chrome/browser/webdata/web_database.h" | 10 #include "components/webdata/common/web_database.h" |
11 #include "sql/statement.h" | 11 #include "sql/statement.h" |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 int table_key = 0; | 15 int table_key = 0; |
16 | 16 |
17 WebDatabaseTable::TypeKey GetKey() { | 17 WebDatabaseTable::TypeKey GetKey() { |
18 return reinterpret_cast<void*>(&table_key); | 18 return reinterpret_cast<void*>(&table_key); |
19 } | 19 } |
20 | 20 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 } | 60 } |
61 | 61 |
62 bool LoginsTable::IsSyncable() { | 62 bool LoginsTable::IsSyncable() { |
63 return true; | 63 return true; |
64 } | 64 } |
65 | 65 |
66 bool LoginsTable::MigrateToVersion(int version, | 66 bool LoginsTable::MigrateToVersion(int version, |
67 bool* update_compatible_version) { | 67 bool* update_compatible_version) { |
68 return true; | 68 return true; |
69 } | 69 } |
OLD | NEW |