fix: misc-use-internal-linkage warnings (32-x-y) (#45587)
fix: misc-use-internal-linkage warnings (#44843) * refactor: misc-use-internal-linkage warnings in context bridge move impl functions into anonymous namespace so that they're not visible to other compilation units: - ExposeAPIInWorld() - IsCalledFromMainWorld() - OverrideGlobalPropertyFromIsolatedWorld() - OverrideGlobalValueFromIsolatedWorld() - TraceKeyPath() * refactor: misc-use-internal-linkage warnings in skia util move impl details into anonymous namespace so that they're not visible to other compilation units: - struct ScaleFactorPair - kScaleFactorPairs[] - GetScaleFactorFromPath() - AddImageSkiaRepFromPath() * refactor: misc-use-internal-linkage warnings in printing util move impl details into anonymous namespace so that they're not visible to other compilation units: - GetFullPagePlugin() * refactor: misc-use-internal-linkage warnings in blijnk converter move impl details into anonymous namespace so that they're not visible to other compilation units: - GetKeyLocationCode() - ModifiersToArray() * refactor: misc-use-internal-linkage warnings in extrension system move impl details into anonymous namespace so that they're not visible to other compilation units: - ParseManifest() * refactor: misc-use-internal-linkage warnings in skia util move impl details into anonymous namespace so that they're not visible to other compilation units: - GetFrameTokenMap() - GetFrameTreeNodeIdMap() * refactor: misc-use-internal-linkage warnings in electron_api_utility_process.cc move impl details into anonymous namespace so that they're not visible to other compilation units: - GetAllUtilityProcessWrappers() * refactor: misc-use-internal-linkage warnings in electron_api_menu move impl details into anonymous namespace so that they're not visible to other compilation units: - InvokeBoolMethod() * refactor: misc-use-internal-linkage warnings in platform util move impl details into anonymous namespace so that they're not visible to other compilation units: - struct TrashItemResult - TrashItemOnBlockingThread()
This commit is contained in:
parent
d87805acd2
commit
8c454d7736
9 changed files with 57 additions and 17 deletions
|
@ -45,6 +45,8 @@
|
|||
|
||||
namespace electron {
|
||||
|
||||
namespace {
|
||||
|
||||
base::IDMap<api::UtilityProcessWrapper*, base::ProcessId>&
|
||||
GetAllUtilityProcessWrappers() {
|
||||
static base::NoDestructor<
|
||||
|
@ -53,6 +55,8 @@ GetAllUtilityProcessWrappers() {
|
|||
return *s_all_utility_process_wrappers;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace api {
|
||||
|
||||
gin::WrapperInfo UtilityProcessWrapper::kWrapperInfo = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue