| 2059 | } |
| 2060 | |
| 2061 | bool Storage::uninstallCustomFormatSpecifier(const char* formatSpecifier) { |
| 2062 | base::threading::ScopedLock scopedLock(lock()); |
| 2063 | std::vector<CustomFormatSpecifier>::iterator it = std::find(m_customFormatSpecifiers.begin(), |
| 2064 | m_customFormatSpecifiers.end(), formatSpecifier); |
| 2065 | if (it != m_customFormatSpecifiers.end() && strcmp(formatSpecifier, it->formatSpecifier()) == 0) { |
| 2066 | m_customFormatSpecifiers.erase(it); |
| 2067 | return true; |
| 2068 | } |
| 2069 | return false; |
| 2070 | } |
| 2071 | |
| 2072 | void Storage::setApplicationArguments(int argc, char** argv) { |
| 2073 | m_commandLineArgs.setArgs(argc, argv); |
nothing calls this directly
no test coverage detected