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

Unified Diff: components/signin/core/browser/child_account_info_fetcher_android.cc

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 side-by-side diff with in-line comments
Download patch
Index: components/signin/core/browser/child_account_info_fetcher_android.cc
diff --git a/components/signin/core/browser/child_account_info_fetcher_android.cc b/components/signin/core/browser/child_account_info_fetcher_android.cc
index 654a8154e3eebad86cd49c6f3d5b92a187e0af4e..34446dad77e68b0f0cbf3950ab7182df962fe986 100644
--- a/components/signin/core/browser/child_account_info_fetcher_android.cc
+++ b/components/signin/core/browser/child_account_info_fetcher_android.cc
@@ -29,6 +29,11 @@ std::unique_ptr<ChildAccountInfoFetcher> ChildAccountInfoFetcherAndroid::Create(
new ChildAccountInfoFetcherAndroid(service, account_id, account_name));
}
+void ChildAccountInfoFetcherAndroid::InitializeForTests() {
+ Java_ChildAccountInfoFetcher_initializeForTests(
+ base::android::AttachCurrentThread());
+}
+
ChildAccountInfoFetcherAndroid::ChildAccountInfoFetcherAndroid(
AccountFetcherService* service,
const std::string& account_id,

Powered by Google App Engine
This is Rietveld 408576698