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

@ -15,9 +15,7 @@
#include "shell/common/node_includes.h"
#include "shell/common/platform_util.h"
namespace electron {
namespace safestorage {
namespace electron::safestorage {
static const char* kEncryptionVersionPrefixV10 = "v10";
static const char* kEncryptionVersionPrefixV11 = "v11";
@ -119,9 +117,7 @@ std::string DecryptString(v8::Isolate* isolate, v8::Local<v8::Value> buffer) {
return plaintext;
}
} // namespace safestorage
} // namespace electron
} // namespace electron::safestorage
void Initialize(v8::Local<v8::Object> exports,
v8::Local<v8::Value> unused,