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

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

Issue 951883002: [Password Manager Cleanup] Replaces NULL -> nullptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Vaclav's comments. Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/native_backend_kwallet_x.cc
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.cc b/chrome/browser/password_manager/native_backend_kwallet_x.cc
index e3e786146c07fa816c55713a9de31d397ca8d6cf..bb3d5f5e249c259b936aad1f745d60fedff0fd18 100644
--- a/chrome/browser/password_manager/native_backend_kwallet_x.cc
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.cc
@@ -104,7 +104,7 @@ void LogDeserializationWarning(int version,
NativeBackendKWallet::NativeBackendKWallet(LocalProfileId id)
: profile_id_(id),
- kwallet_proxy_(NULL),
+ kwallet_proxy_(nullptr),
app_name_(l10n_util::GetStringUTF8(IDS_PRODUCT_NAME)) {
folder_name_ = GetProfileSpecificFolderName();
}
@@ -440,7 +440,7 @@ bool NativeBackendKWallet::GetLoginsList(
return false;
}
dbus::MessageReader reader(response.get());
- const uint8_t* bytes = NULL;
+ const uint8_t* bytes = nullptr;
size_t length = 0;
if (!reader.PopArrayOfBytes(&bytes, &length)) {
LOG(ERROR) << "Error reading response from kwalletd (readEntry): "
@@ -527,7 +527,7 @@ bool NativeBackendKWallet::GetAllLogins(
return false;
}
dbus::MessageReader reader(response.get());
- const uint8_t* bytes = NULL;
+ const uint8_t* bytes = nullptr;
size_t length = 0;
if (!reader.PopArrayOfBytes(&bytes, &length)) {
LOG(ERROR) << "Error reading response from kwalletd (readEntry): "
@@ -664,7 +664,7 @@ bool NativeBackendKWallet::RemoveLoginsBetween(
continue;
}
dbus::MessageReader reader(response.get());
- const uint8_t* bytes = NULL;
+ const uint8_t* bytes = nullptr;
size_t length = 0;
if (!reader.PopArrayOfBytes(&bytes, &length)) {
LOG(ERROR) << "Error reading response from kwalletd (readEntry): "

Powered by Google App Engine
This is Rietveld 408576698