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

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

Issue 1635603002: Make use of CreateInterfacePtrAndBind() where appropriate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 11 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_intent_helper_bridge.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 5068550da19750ab584f498922c639929b9fd906..46a2cea720f2f280f36d5bb591665d685f3cd213 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -18,9 +18,8 @@ ArcAuthService::~ArcAuthService() {
}
void ArcAuthService::OnAuthInstanceReady() {
- arc::AuthHostPtr host;
- binding_.Bind(GetProxy(&host));
- arc_bridge_service()->auth_instance()->Init(std::move(host));
+ arc_bridge_service()->auth_instance()->Init(
+ binding_.CreateInterfacePtrAndBind());
}
void ArcAuthService::GetAuthCode(const GetAuthCodeCallback& callback) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_intent_helper_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698