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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.cc

Issue 2062333002: mojo::Callback -> base::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/chromeos/arc/arc_policy_bridge_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index ee51262c147aab8814b3102c4ebbc080cd144eb5..620f6d3b08308949f2f6fafd1a1ea40ec84e32e8 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -474,7 +474,7 @@ void ArcAuthService::OnOptInPreferenceChanged() {
void ArcAuthService::ShutdownBridge() {
playstore_launcher_.reset();
- auth_callback_.reset();
+ auth_callback_.Reset();
ubertoken_fetcher_.reset();
merger_fetcher_.reset();
arc_bridge_service()->Shutdown();
@@ -532,7 +532,7 @@ void ArcAuthService::SetAuthCodeAndStartArc(const std::string& auth_code) {
DCHECK_EQ(state_, State::FETCHING_CODE);
SetState(State::ACTIVE);
auth_callback_.Run(mojo::String(auth_code), !IsOptInVerificationDisabled());
- auth_callback_.reset();
+ auth_callback_.Reset();
return;
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_policy_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698