refactor: move impl functions into private namespace (#43372)
This commit is contained in:
parent
f366caac84
commit
4fbf18a021
10 changed files with 40 additions and 8 deletions
|
@ -468,6 +468,8 @@ ExtensionFunction::ResponseAction TabsSetZoomSettingsFunction::Run() {
|
|||
return RespondNow(NoArguments());
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
bool IsKillURL(const GURL& url) {
|
||||
#if DCHECK_IS_ON()
|
||||
// Caller should ensure that |url| is already "fixed up" by
|
||||
|
@ -587,6 +589,8 @@ base::expected<GURL, std::string> PrepareURLForNavigation(
|
|||
return url;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
TabsUpdateFunction::TabsUpdateFunction() : web_contents_(nullptr) {}
|
||||
|
||||
ExtensionFunction::ResponseAction TabsUpdateFunction::Run() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue