OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_LOGINS_TABLE_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_LOGINS_TABLE_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_LOGINS_TABLE_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_LOGINS_TABLE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 #include "build/build_config.h" |
11 #include "components/webdata/common/web_database_table.h" | 13 #include "components/webdata/common/web_database_table.h" |
12 | 14 |
13 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
14 struct IE7PasswordInfo; | 16 struct IE7PasswordInfo; |
15 #endif | 17 #endif |
16 | 18 |
17 class WebDatabase; | 19 class WebDatabase; |
18 | 20 |
19 // This class manages the logins table within the SQLite database passed to the | 21 // This class manages the logins table within the SQLite database passed to the |
20 // constructor. We no longer store passwords here except for imported IE | 22 // constructor. We no longer store passwords here except for imported IE |
(...skipping 21 matching lines...) Expand all Loading... |
42 | 44 |
43 // Return the ie7/ie8 login matching |info|. | 45 // Return the ie7/ie8 login matching |info|. |
44 bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result); | 46 bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result); |
45 #endif | 47 #endif |
46 | 48 |
47 private: | 49 private: |
48 DISALLOW_COPY_AND_ASSIGN(LoginsTable); | 50 DISALLOW_COPY_AND_ASSIGN(LoginsTable); |
49 }; | 51 }; |
50 | 52 |
51 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_LOGINS_TABLE_H_ | 53 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_LOGINS_TABLE_H_ |
OLD | NEW |