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

Side by Side Diff: components/signin/core/browser/child_account_info_fetcher.h

Issue 2836373003: Reland of Reimplement AccountManagerHelper singleton instance creation (Closed)
Patch Set: Fixed ClearBrowsingDataPreferencesTest Created 3 years, 8 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 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 // Caller takes ownership of the fetcher and keeps it alive in order to 28 // Caller takes ownership of the fetcher and keeps it alive in order to
29 // receive updates. 29 // receive updates.
30 static std::unique_ptr<ChildAccountInfoFetcher> CreateFrom( 30 static std::unique_ptr<ChildAccountInfoFetcher> CreateFrom(
31 const std::string& account_id, 31 const std::string& account_id,
32 AccountFetcherService* fetcher_service, 32 AccountFetcherService* fetcher_service,
33 OAuth2TokenService* token_service, 33 OAuth2TokenService* token_service,
34 net::URLRequestContextGetter* request_context_getter, 34 net::URLRequestContextGetter* request_context_getter,
35 invalidation::InvalidationService* invalidation_service); 35 invalidation::InvalidationService* invalidation_service);
36 virtual ~ChildAccountInfoFetcher(); 36 virtual ~ChildAccountInfoFetcher();
37
38 static void InitializeForTests();
37 }; 39 };
38 40
39 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_ 41 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698