Home
last modified time | relevance | path

Searched refs:prior_state (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/
Dfield_trial.cc154 bool FieldTrialList::StringAugmentsState(const std::string& prior_state) { in StringAugmentsState() argument
156 if (prior_state.empty() || !global_) in StringAugmentsState()
160 while (next_item < prior_state.length()) { in StringAugmentsState()
161 size_t name_end = prior_state.find(kPersistentStringSeparator, next_item); in StringAugmentsState()
162 if (name_end == prior_state.npos || next_item == name_end) in StringAugmentsState()
164 size_t group_name_end = prior_state.find(kPersistentStringSeparator, in StringAugmentsState()
166 if (group_name_end == prior_state.npos || name_end + 1 == group_name_end) in StringAugmentsState()
168 std::string name(prior_state, next_item, name_end - next_item); in StringAugmentsState()
169 std::string group_name(prior_state, name_end + 1, in StringAugmentsState()
Dfield_trial.h193 static bool StringAugmentsState(const std::string& prior_state);