chore: use nested namespaces (#37855)

This commit is contained in:
David Sanders 2023-04-10 23:30:25 -07:00 committed by GitHub
parent e929b2140d
commit adb1172066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 36 deletions

View file

@ -12,9 +12,7 @@
#include "shell/common/gin_converters/value_converter.h"
#include "shell/common/gin_helper/promise.h"
namespace electron {
namespace api {
namespace electron::api {
v8::Local<v8::Promise> PushNotifications::RegisterForAPNSNotifications(
v8::Isolate* isolate) {
@ -57,6 +55,4 @@ void PushNotifications::OnDidReceiveAPNSNotification(
Emit("received-apns-notification", user_info);
}
} // namespace api
} // namespace electron
} // namespace electron::api