OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |