Update source files for bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:59:03 -05:00
parent d84b07a5cb
commit 3af3eab3e4
366 changed files with 7275 additions and 3834 deletions

View File

@ -52,8 +52,9 @@ class CefOriginWhitelistManager {
// Verify that the origin entry doesn't already exist.
for (const auto& entry : origin_list_) {
if (entry == info)
if (entry == info) {
return false;
}
}
origin_list_.push_back(info->Clone());
@ -88,8 +89,9 @@ class CefOriginWhitelistManager {
}
}
if (!found)
if (!found) {
return false;
}
SendModifyCrossOriginWhitelistEntry(false, info);
return true;
@ -123,8 +125,9 @@ class CefOriginWhitelistManager {
if (!origin_list_.empty()) {
for (const auto& entry : origin_list_) {
if (IsMatch(source, target, entry))
if (IsMatch(source, target, entry)) {
return true;
}
}
}