Deprecate SearchBox::CheckIsUserSignedInToChromeAs |
||
Issue descriptionThis is part of the EmbeddedSearch API, but doesn't actually seem to be used anywhere, afaict. https://cs.chromium.org/chromium/src/chrome/renderer/searchbox/searchbox_extension.cc?type=cs&sq=package:chromium&g=0&l=617 https://cs.chromium.org/search/?q=checkIsUserSignedIntoChromeAs&type=cs It's currently not documented / advertised in https://www.chromium.org/embeddedsearch. Perhaps some use of IdentityManager::GetPrimaryAccountInfo() and SigninManagerBase::IsAuthenticated() would be the better alternative?
,
Jul 5
Ah, good call, I didn't run a search there. Is there a documented process for deprecating things in the embeddedSearch API?
,
Jul 5
Not that I'm aware, no. This particular API was never documented publicly though, and I'm pretty sure none of the third-party NTPs use it. So once the Google remote NTP doesn't use it anymore, it should be fine to just remove.
,
Jul 5
Sounds good, thanks! |
||
►
Sign in to add a comment |
||
Comment 1 by treib@chromium.org
, Jul 5