
The approach replaced in this patch doesn't work well with making //google_apis a component, which is the current plan. These constructors can be ifdef-ed for unit tests only, which also requires that they are inlined in the header file. Note that, as per pre-existing TODO, these constructors will eventually be deleted. Change-Id: I47a128d9887eb19875b348919a04a186cfd38402 Bug: 1417961 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4272397 Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1107684}