| 2051 | } |
| 2052 | |
| 2053 | void Storage::installCustomFormatSpecifier(const CustomFormatSpecifier& customFormatSpecifier) { |
| 2054 | if (hasCustomFormatSpecifier(customFormatSpecifier.formatSpecifier())) { |
| 2055 | return; |
| 2056 | } |
| 2057 | base::threading::ScopedLock scopedLock(lock()); |
| 2058 | m_customFormatSpecifiers.push_back(customFormatSpecifier); |
| 2059 | } |
| 2060 | |
| 2061 | bool Storage::uninstallCustomFormatSpecifier(const char* formatSpecifier) { |
| 2062 | base::threading::ScopedLock scopedLock(lock()); |
nothing calls this directly
no test coverage detected