| 260 | } |
| 261 | |
| 262 | void Configurations::set(Level level, ConfigurationType configurationType, const std::string& value) { |
| 263 | base::threading::ScopedLock scopedLock(lock()); |
| 264 | unsafeSet(level, configurationType, value); // This is not unsafe anymore as we have locked mutex |
| 265 | if (level == Level::Global) { |
| 266 | unsafeSetGlobally(configurationType, value, false); // Again this is not unsafe either |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | void Configurations::set(Configuration* conf) { |
| 271 | if (conf == nullptr) { |
no test coverage detected