Commit 454bc4b9 authored by Xiaohui Chen's avatar Xiaohui Chen Committed by Commit Bot

Add vlog for debugging

Added two very infreqent vlog for debug auth issues.

Bug: b:111370621
Test: locally build
Change-Id: I77d3f6cc23a8c0cd9d5ab30c59989d1f2d80b464
Reviewed-on: https://chromium-review.googlesource.com/1162879Reviewed-by: default avatarTao Wu <wutao@chromium.org>
Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580930}
parent ce869f0b
...@@ -99,6 +99,7 @@ AssistantManagerService::State AssistantManagerServiceImpl::GetState() const { ...@@ -99,6 +99,7 @@ AssistantManagerService::State AssistantManagerServiceImpl::GetState() const {
void AssistantManagerServiceImpl::SetAccessToken( void AssistantManagerServiceImpl::SetAccessToken(
const std::string& access_token) { const std::string& access_token) {
VLOG(1) << "Set access token.";
// Push the |access_token| we got as an argument into AssistantManager before // Push the |access_token| we got as an argument into AssistantManager before
// starting to ensure that all server requests will be authenticated once // starting to ensure that all server requests will be authenticated once
// it is started. |user_id| is used to pair a user to their |access_token|, // it is started. |user_id| is used to pair a user to their |access_token|,
......
...@@ -179,6 +179,7 @@ void Service::BindAssistantSettingsManager( ...@@ -179,6 +179,7 @@ void Service::BindAssistantSettingsManager(
} }
void Service::RequestAccessToken() { void Service::RequestAccessToken() {
VLOG(1) << "Start requesting access token.";
GetIdentityManager()->GetPrimaryAccountInfo(base::BindOnce( GetIdentityManager()->GetPrimaryAccountInfo(base::BindOnce(
&Service::GetPrimaryAccountInfoCallback, base::Unretained(this))); &Service::GetPrimaryAccountInfoCallback, base::Unretained(this)));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment