Skip to content

Commit

Permalink
Lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarolin committed Nov 25, 2020
1 parent 1b5b6fa commit 47ceb5f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions renderer/test/subresource_web_bundles_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,11 @@ std::string CreateWebBundle() {
std::string GetHeadersForURL(const std::string& url) {
if (base::EndsWith(url, kOriginTrialPage, base::CompareCase::SENSITIVE)) {
return kOriginTrialPageHeaders;
}
else if (base::EndsWith(url, kWebBundle, base::CompareCase::SENSITIVE)) {
} else if (base::EndsWith(url, kWebBundle, base::CompareCase::SENSITIVE)) {
return kWebBundleHeaders;
}
else if (base::EndsWith(url, kPassJs, base::CompareCase::SENSITIVE)) {
} else if (base::EndsWith(url, kPassJs, base::CompareCase::SENSITIVE)) {
return kPassJsHeaders;
}
else {
} else {
return std::string();
}
}
Expand All @@ -120,11 +117,9 @@ std::string GetContentForURL(const std::string& url) {
kOriginTrialToken, R"(">)" });
base::ReplaceFirstSubstringAfterOffset(&response, 0, "META_TAG", meta_tag);
return response;
}
else if (base::EndsWith(url, kWebBundle, base::CompareCase::SENSITIVE)) {
} else if (base::EndsWith(url, kWebBundle, base::CompareCase::SENSITIVE)) {
return CreateWebBundle();
}
else {
} else {
return std::string();
}
}
Expand Down

0 comments on commit 47ceb5f

Please sign in to comment.