get the domain of an url using the gurl library . concode_field_sep SharedPreferences mSharedPreferences concode_elem_sep String PREF_PREFIX concode_field_sep void allow concode_elem_sep void deny concode_elem_sep boolean hasOrigin concode_elem_sep boolean isOriginAllowed concode_elem_sep void getOrigins concode_elem_sep void clear concode_elem_sep void getAllowed concode_elem_sep void clearAll
String function ( String arg0 ) { String loc0 = GURLUtils . getOrigin ( arg0 ) ; if ( loc0 . isEmpty ( ) ) { return null ; } return PREF_PREFIX + loc0 ; }