Searched refs:default_idx_ (Results 1 – 2 of 2) sorted by relevance
91 default_idx_ = -1; in Reset()108 CHECK_GE(default_idx_, 0); in GetDefault()109 return options_[default_idx_]; in GetDefault()116 DCHECK_EQ(default_idx_, -1); in AddDefaultOption()118 default_idx_ = base::checked_cast<int>(size()); in AddDefaultOption()127 int default_idx_; variable
89 return default_idx_ >= 0 && default_idx_ < base::checked_cast<int>(size()); in IsValid()112 if (is_default && default_idx_ >= 0) { in LoadFrom()130 if (base::checked_cast<int>(i) == default_idx_) in SaveTo()