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

Unified Diff: chrome/browser/password_manager/password_manager_util_win.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/password_manager_util_win.cc
diff --git a/chrome/browser/password_manager/password_manager_util_win.cc b/chrome/browser/password_manager/password_manager_util_win.cc
index cc5371f0afddc7a93ac3e697115d97d11c189cc8..d1797605d2fd38202f23ea457bf41f7c4b73b5a1 100644
--- a/chrome/browser/password_manager/password_manager_util_win.cc
+++ b/chrome/browser/password_manager/password_manager_util_win.cc
@@ -5,6 +5,8 @@
// windows.h must be first otherwise Win8 SDK breaks.
#include <windows.h>
#include <LM.h>
+#include <stddef.h>
+#include <stdint.h>
#include <wincred.h>
// SECURITY_WIN32 must be defined in order to get
@@ -65,7 +67,7 @@ struct PasswordCheckPrefs {
void Read(PrefService* local_state);
void Write(PrefService* local_state);
- int64 pref_last_changed_;
+ int64_t pref_last_changed_;
bool blank_password_;
};
@@ -83,7 +85,7 @@ void PasswordCheckPrefs::Write(PrefService* local_state) {
pref_last_changed_);
}
-int64 GetPasswordLastChanged(const WCHAR* username) {
+int64_t GetPasswordLastChanged(const WCHAR* username) {
LPUSER_INFO_1 user_info = NULL;
DWORD age = 0;
@@ -104,7 +106,7 @@ int64 GetPasswordLastChanged(const WCHAR* username) {
bool CheckBlankPasswordWithPrefs(const WCHAR* username,
PasswordCheckPrefs* prefs) {
- int64 last_changed = GetPasswordLastChanged(username);
+ int64_t last_changed = GetPasswordLastChanged(username);
// If we cannot determine when the password was last changed
// then assume the password is not blank
« no previous file with comments | « chrome/browser/password_manager/password_manager_util_mac.mm ('k') | chrome/browser/password_manager/password_store_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698