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

Unified Diff: extensions/browser/quota_service.cc

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/quota_service.cc
diff --git a/extensions/browser/quota_service.cc b/extensions/browser/quota_service.cc
index 70ac66280e1087dc3e1e7dff6e822a205a08fca8..d2298553a99a20824f116cfb5ece2266dcb18c9d 100644
--- a/extensions/browser/quota_service.cc
+++ b/extensions/browser/quota_service.cc
@@ -23,7 +23,7 @@ const char kOverQuotaError[] = "This request exceeds the * quota.";
namespace extensions {
QuotaService::QuotaService() {
- if (base::MessageLoop::current() != NULL) { // Null in unit tests.
+ if (base::MessageLoop::current() != nullptr) { // Null in unit tests.
purge_timer_.Start(FROM_HERE,
base::TimeDelta::FromDays(kPurgeIntervalInDays),
this,
@@ -62,7 +62,7 @@ std::string QuotaService::Assess(const std::string& extension_id,
if (violation_error != violation_errors_.end())
return violation_error->second; // Repeat offender.
- QuotaLimitHeuristic* failed_heuristic = NULL;
+ QuotaLimitHeuristic* failed_heuristic = nullptr;
for (QuotaLimitHeuristics::iterator heuristic = heuristics.begin();
heuristic != heuristics.end();
++heuristic) {

Powered by Google App Engine
This is Rietveld 408576698