chore: used nested namespaces (#34737)
This commit is contained in:
parent
0d4e417594
commit
5d120359f6
122 changed files with 246 additions and 738 deletions
|
@ -39,9 +39,7 @@
|
|||
#include "device/fido/win/webauthn_api.h"
|
||||
#endif // BUILDFLAG(IS_WIN)
|
||||
|
||||
namespace extensions {
|
||||
|
||||
namespace api {
|
||||
namespace extensions::api {
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -307,5 +305,4 @@ CryptotokenPrivateRecordSignRequestFunction::Run() {
|
|||
return RespondNow(NoArguments());
|
||||
}
|
||||
|
||||
} // namespace api
|
||||
} // namespace extensions
|
||||
} // namespace extensions::api
|
||||
|
|
|
@ -14,8 +14,7 @@ class PrefRegistrySyncable;
|
|||
|
||||
// Implementations for chrome.cryptotokenPrivate API functions.
|
||||
|
||||
namespace extensions {
|
||||
namespace api {
|
||||
namespace extensions::api {
|
||||
|
||||
// void CryptotokenRegisterProfilePrefs(
|
||||
// user_prefs::PrefRegistrySyncable* registry);
|
||||
|
@ -80,7 +79,6 @@ class CryptotokenPrivateRecordSignRequestFunction : public ExtensionFunction {
|
|||
ResponseAction Run() override;
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
} // namespace extensions
|
||||
} // namespace extensions::api
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#include "extensions/browser/updater/update_service_factory.h"
|
||||
#include "shell/browser/extensions/electron_extension_system_factory.h"
|
||||
|
||||
namespace extensions {
|
||||
namespace electron {
|
||||
namespace extensions::electron {
|
||||
|
||||
void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
|
||||
// TODO(rockot): Remove this once UpdateService is supported across all
|
||||
|
@ -18,5 +17,4 @@ void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
|
|||
ElectronExtensionSystemFactory::GetInstance();
|
||||
}
|
||||
|
||||
} // namespace electron
|
||||
} // namespace extensions
|
||||
} // namespace extensions::electron
|
||||
|
|
|
@ -5,14 +5,12 @@
|
|||
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
|
||||
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
|
||||
|
||||
namespace extensions {
|
||||
namespace electron {
|
||||
namespace extensions::electron {
|
||||
|
||||
// Ensures the existence of any BrowserContextKeyedServiceFactory provided by
|
||||
// the core extensions code.
|
||||
void EnsureBrowserContextKeyedServiceFactoriesBuilt();
|
||||
|
||||
} // namespace electron
|
||||
} // namespace extensions
|
||||
} // namespace extensions::electron
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue