| 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_ENCRYPTOR_IE7_PASSWORD_WIN_H_ | 5 #ifndef COMPONENTS_OS_CRYPT_IE7_PASSWORD_WIN_H_ |
| 6 #define COMPONENTS_ENCRYPTOR_IE7_PASSWORD_WIN_H_ | 6 #define COMPONENTS_OS_CRYPT_IE7_PASSWORD_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 | 14 |
| 15 // 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. |
| 16 struct IE7PasswordInfo { | 16 struct IE7PasswordInfo { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 44 // Output ends up in |credentials|. | 44 // Output ends up in |credentials|. |
| 45 bool DecryptPasswords(const std::wstring& url, | 45 bool DecryptPasswords(const std::wstring& url, |
| 46 const std::vector<unsigned char>& data, | 46 const std::vector<unsigned char>& data, |
| 47 std::vector<DecryptedCredentials>* credentials); | 47 std::vector<DecryptedCredentials>* credentials); |
| 48 | 48 |
| 49 // Returns the hash of a url. | 49 // Returns the hash of a url. |
| 50 std::wstring GetUrlHash(const std::wstring& url); | 50 std::wstring GetUrlHash(const std::wstring& url); |
| 51 | 51 |
| 52 } // namespace ie7_password | 52 } // namespace ie7_password |
| 53 | 53 |
| 54 #endif // COMPONENTS_ENCRYPTOR_IE7_PASSWORD_WIN_H_ | 54 #endif // COMPONENTS_OS_CRYPT_IE7_PASSWORD_WIN_H_ |
| OLD | NEW |