
Split method apart so we can determine whether the link provided is a valid address
from outside of this code.

R=nicksantos
DELTA=27  (18 added, 6 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5576


git-svn-id: 35241bd708fe29f1f6c7a4322d322e99ff93b95e@2195 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

weitzj/closure-library,weitzj/closure-library