From 3d5601a140c57ebb00026c92db930f790ec2751f Mon Sep 17 00:00:00 2001 From: merkulova Date: Wed, 11 Mar 2015 10:20:01 -0700 Subject: [PATCH] Returning fetching back. Accidentally removed by https://codereview.chromium.org/971383002/ BUG=463088 Review URL: https://codereview.chromium.org/999793003 Cr-Commit-Position: refs/heads/master@{#320100} --- .../browser/supervised_user/child_accounts/child_account_service.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome/browser/supervised_user/child_accounts/child_account_service.cc b/chrome/browser/supervised_user/child_accounts/child_account_service.cc index ebba0fc8293c..76e3e65e0e5d 100644 --- a/chrome/browser/supervised_user/child_accounts/child_account_service.cc +++ b/chrome/browser/supervised_user/child_accounts/child_account_service.cc @@ -306,6 +306,12 @@ void ChildAccountService::StartFetchingServiceFlags() { } account_id_ = SigninManagerFactory::GetForProfile(profile_) ->GetAuthenticatedAccountId(); + flag_fetcher_.reset(new AccountServiceFlagFetcher( + account_id_, + ProfileOAuth2TokenServiceFactory::GetForProfile(profile_), + profile_->GetRequestContext(), + base::Bind(&ChildAccountService::OnFlagsFetched, + weak_ptr_factory_.GetWeakPtr()))); } void ChildAccountService::CancelFetchingServiceFlags() { -- 2.11.4.GIT