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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_invalidator.cc

Issue 2826843004: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/policy (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/test_request_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud/cloud_policy_invalidator.cc
diff --git a/chrome/browser/policy/cloud/cloud_policy_invalidator.cc b/chrome/browser/policy/cloud/cloud_policy_invalidator.cc
index f63060f205bae6a4094cea212fe70a6143d0f0da..558800b49211574d0fccb44dc18f906a69dfbcd5 100644
--- a/chrome/browser/policy/cloud/cloud_policy_invalidator.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_invalidator.cc
@@ -266,10 +266,9 @@ void CloudPolicyInvalidator::HandleInvalidation(
// Schedule the policy to be refreshed.
task_runner_->PostDelayedTask(
FROM_HERE,
- base::Bind(
- &CloudPolicyInvalidator::RefreshPolicy,
- weak_factory_.GetWeakPtr(),
- payload.empty() /* is_missing_payload */),
+ base::BindOnce(&CloudPolicyInvalidator::RefreshPolicy,
+ weak_factory_.GetWeakPtr(),
+ payload.empty() /* is_missing_payload */),
delay);
}
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/test_request_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698