Add utils types and macro to base.

R=fdoray@chromium.org, fdoray

BUG=

Review URL: https://codereview.appspot.com/58130043