chore: used nested namespaces (#34737)

This commit is contained in:
David Sanders 2022-06-29 12:55:47 -07:00 committed by GitHub
parent 0d4e417594
commit 5d120359f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 246 additions and 738 deletions

View file

@ -13,9 +13,7 @@ namespace node {
class Environment;
}
namespace electron {
namespace util {
namespace electron::util {
// Run a script with JS source bundled inside the binary as if it's wrapped
// in a function called with a null receiver and arguments specified in C++.
@ -29,8 +27,6 @@ v8::MaybeLocal<v8::Value> CompileAndCall(
std::vector<v8::Local<v8::Value>>* arguments,
node::Environment* optional_env);
} // namespace util
} // namespace electron
} // namespace electron::util
#endif // ELECTRON_SHELL_COMMON_NODE_UTIL_H_