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

Side by Side Diff: components/signin/core/browser/account_fetcher_service.cc

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/signin/core/browser/account_fetcher_service.h" 5 #include "components/signin/core/browser/account_fetcher_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/prefs/pref_service.h"
12 #include "base/profiler/scoped_tracker.h" 11 #include "base/profiler/scoped_tracker.h"
13 #include "base/trace_event/trace_event.h" 12 #include "base/trace_event/trace_event.h"
14 #include "build/build_config.h" 13 #include "build/build_config.h"
15 #include "components/pref_registry/pref_registry_syncable.h" 14 #include "components/pref_registry/pref_registry_syncable.h"
15 #include "components/prefs/pref_service.h"
16 #include "components/signin/core/browser/account_info_fetcher.h" 16 #include "components/signin/core/browser/account_info_fetcher.h"
17 #include "components/signin/core/browser/account_tracker_service.h" 17 #include "components/signin/core/browser/account_tracker_service.h"
18 #include "components/signin/core/browser/child_account_info_fetcher.h" 18 #include "components/signin/core/browser/child_account_info_fetcher.h"
19 #include "components/signin/core/browser/refresh_token_annotation_request.h" 19 #include "components/signin/core/browser/refresh_token_annotation_request.h"
20 #include "components/signin/core/browser/signin_client.h" 20 #include "components/signin/core/browser/signin_client.h"
21 #include "components/signin/core/common/signin_switches.h" 21 #include "components/signin/core/common/signin_switches.h"
22 #include "net/url_request/url_request_context_getter.h" 22 #include "net/url_request/url_request_context_getter.h"
23 23
24 namespace { 24 namespace {
25 25
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 user_info_requests_.erase(account_id); 334 user_info_requests_.erase(account_id);
335 UpdateChildInfo(); 335 UpdateChildInfo();
336 account_tracker_service_->StopTrackingAccount(account_id); 336 account_tracker_service_->StopTrackingAccount(account_id);
337 } 337 }
338 338
339 void AccountFetcherService::OnRefreshTokensLoaded() { 339 void AccountFetcherService::OnRefreshTokensLoaded() {
340 DCHECK(CalledOnValidThread()); 340 DCHECK(CalledOnValidThread());
341 refresh_tokens_loaded_ = true; 341 refresh_tokens_loaded_ = true;
342 MaybeEnableNetworkFetches(); 342 MaybeEnableNetworkFetches();
343 } 343 }
OLDNEW
« no previous file with comments | « components/signin/core/browser/about_signin_internals.cc ('k') | components/signin/core/browser/account_tracker_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698