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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_IE7_PASSWORD_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_IE7_PASSWORD_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_IE7_PASSWORD_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_IE7_PASSWORD_H_ |
7 #pragma once | |
8 | 7 |
9 #include <windows.h> | 8 #include <windows.h> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/time.h" | 13 #include "base/time.h" |
15 | 14 |
16 // Contains the information read from the IE7/IE8 Storage2 key in the registry. | 15 // Contains the information read from the IE7/IE8 Storage2 key in the registry. |
17 struct IE7PasswordInfo { | 16 struct IE7PasswordInfo { |
(...skipping 20 matching lines...) Expand all Loading... |
38 bool DecryptPassword(const std::wstring& url, | 37 bool DecryptPassword(const std::wstring& url, |
39 const std::vector<unsigned char>& data, | 38 const std::vector<unsigned char>& data, |
40 std::wstring* username, std::wstring* password); | 39 std::wstring* username, std::wstring* password); |
41 | 40 |
42 // Returns the hash of a url. | 41 // Returns the hash of a url. |
43 std::wstring GetUrlHash(const std::wstring& url); | 42 std::wstring GetUrlHash(const std::wstring& url); |
44 | 43 |
45 } // namespace ie7_password | 44 } // namespace ie7_password |
46 | 45 |
47 #endif // CHROME_BROWSER_PASSWORD_MANAGER_IE7_PASSWORD_H_ | 46 #endif // CHROME_BROWSER_PASSWORD_MANAGER_IE7_PASSWORD_H_ |
OLD | NEW |