| 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 #ifndef CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_ |
| 6 #define CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_ | 6 #define CHROME_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 "chrome/browser/webdata/web_database_table.h" | 11 #include "components/webdata/common/web_database_table.h" |
| 12 | 12 |
| 13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
| 14 struct IE7PasswordInfo; | 14 struct IE7PasswordInfo; |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 class WebDatabase; | 17 class WebDatabase; |
| 18 | 18 |
| 19 // This class manages the logins table within the SQLite database passed to the | 19 // 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 | 20 // constructor. We no longer store passwords here except for imported IE |
| 21 // passwords, so this class is now mostly responsible for deleting the table if | 21 // passwords, so this class is now mostly responsible for deleting the table if |
| (...skipping 21 matching lines...) Expand all Loading... |
| 43 | 43 |
| 44 // Return the ie7/ie8 login matching |info|. | 44 // Return the ie7/ie8 login matching |info|. |
| 45 bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result); | 45 bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result); |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 DISALLOW_COPY_AND_ASSIGN(LoginsTable); | 49 DISALLOW_COPY_AND_ASSIGN(LoginsTable); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif // CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_ | 52 #endif // CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_ |
| OLD | NEW |