| 2045 | } |
| 2046 | |
| 2047 | bool Storage::hasCustomFormatSpecifier(const char* formatSpecifier) { |
| 2048 | base::threading::ScopedLock scopedLock(lock()); |
| 2049 | return std::find(m_customFormatSpecifiers.begin(), m_customFormatSpecifiers.end(), |
| 2050 | formatSpecifier) != m_customFormatSpecifiers.end(); |
| 2051 | } |
| 2052 | |
| 2053 | void Storage::installCustomFormatSpecifier(const CustomFormatSpecifier& customFormatSpecifier) { |
| 2054 | if (hasCustomFormatSpecifier(customFormatSpecifier.formatSpecifier())) { |