Remove using namespace from components/signin code

The using namespace construct is disallowed in the code style guide.
It also causes issues (compilation warnings turned into errors)
in jumbo builds since they will be in a "header context" there
which is explicitly blocked by our compiler settings.

This patch also has a bit of a feature creep to remove a number
of unnecessary static_casts that made the code hard to read,
especially with the namespaces.

Change-Id: Icaa4968695a6f033868aac681a9ebe08eee75c3e
Commit-Queue: Daniel Bratell <>
Reviewed-by: Mihai Sardarescu <>
Cr-Commit-Position: refs/heads/master@{#606113}
4 files changed