chrome/browser/web_resource/notification_promo.cc
// Convert PromoType to appropriate string.
Convert PromoType to appropriate string.
Convert PromoType to appropriate string .
const char* PromoTypeToString(NotificationPromo::PromoType promo_type) {
  for (size_t i = 0; i < arraysize(kPromoMap); ++i) {
    if (kPromoMap[i].promo_type == promo_type)
      return kPromoMap[i].promo_type_str;
  }
  NOTREACHED();
  return "";
}
const char * PromoTypeToString ( NotificationPromo :: PromoType promo_type ) { for ( size_t i = 0 ; i < arraysize ( kPromoMap ) ; ++ i ) { if ( kPromoMap [ i ] . promo_type == promo_type ) return kPromoMap [ i ] . promo_type_str ; } NOTREACHED ( ) ; return " " ; }
Convert PromoType to appropriate string.
Convert PromoType to appropriate string .