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

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

Issue 2836373003: Reland of Reimplement AccountManagerHelper singleton instance creation (Closed)
Patch Set: Fixed ClearBrowsingDataPreferencesTest Created 3 years, 7 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/child_account_info_fetcher.h" 5 #include "components/signin/core/browser/child_account_info_fetcher.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
(...skipping 13 matching lines...) Expand all
24 return ChildAccountInfoFetcherAndroid::Create(fetcher_service, account_id); 24 return ChildAccountInfoFetcherAndroid::Create(fetcher_service, account_id);
25 #else 25 #else
26 return base::MakeUnique<ChildAccountInfoFetcherImpl>( 26 return base::MakeUnique<ChildAccountInfoFetcherImpl>(
27 account_id, fetcher_service, token_service, request_context_getter, 27 account_id, fetcher_service, token_service, request_context_getter,
28 invalidation_service); 28 invalidation_service);
29 #endif 29 #endif
30 } 30 }
31 31
32 ChildAccountInfoFetcher::~ChildAccountInfoFetcher() { 32 ChildAccountInfoFetcher::~ChildAccountInfoFetcher() {
33 } 33 }
34
35 void ChildAccountInfoFetcher::InitializeForTests() {
36 #if defined(OS_ANDROID)
37 ChildAccountInfoFetcherAndroid::InitializeForTests();
38 #endif
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698