Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: components/webdata/encryptor/ie7_password.h

Issue 18054007: Use a direct include of time headers in chrome_frame/, chromeos/, cloud_print/, components/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/webdata/common/web_database_migration_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 COMPONENTS_WEBDATA_ENCRYPTOR_IE7_PASSWORD_H_ 5 #ifndef COMPONENTS_WEBDATA_ENCRYPTOR_IE7_PASSWORD_H_
6 #define COMPONENTS_WEBDATA_ENCRYPTOR_IE7_PASSWORD_H_ 6 #define COMPONENTS_WEBDATA_ENCRYPTOR_IE7_PASSWORD_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.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 {
17 // Hash of the url. 17 // Hash of the url.
18 std::wstring url_hash; 18 std::wstring url_hash;
19 19
20 // Encrypted data containing the username, password and some more undocumented 20 // Encrypted data containing the username, password and some more undocumented
21 // fields. 21 // fields.
22 std::vector<unsigned char> encrypted_data; 22 std::vector<unsigned char> encrypted_data;
23 23
(...skipping 13 matching lines...) Expand all
37 bool DecryptPassword(const std::wstring& url, 37 bool DecryptPassword(const std::wstring& url,
38 const std::vector<unsigned char>& data, 38 const std::vector<unsigned char>& data,
39 std::wstring* username, std::wstring* password); 39 std::wstring* username, std::wstring* password);
40 40
41 // Returns the hash of a url. 41 // Returns the hash of a url.
42 std::wstring GetUrlHash(const std::wstring& url); 42 std::wstring GetUrlHash(const std::wstring& url);
43 43
44 } // namespace ie7_password 44 } // namespace ie7_password
45 45
46 #endif // COMPONENTS_WEBDATA_ENCRYPTOR_IE7_PASSWORD_H_ 46 #endif // COMPONENTS_WEBDATA_ENCRYPTOR_IE7_PASSWORD_H_
OLDNEW
« no previous file with comments | « components/webdata/common/web_database_migration_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698