Sync from internal version.
        This is the support for the "public import" feature.

R=r
CC=golang-dev
http://codereview.appspot.com/3975043
4 files changed