Skip to content

Commit

Permalink
Policy registry key name migrated to Supermium from Chromium.
Browse files Browse the repository at this point in the history
  • Loading branch information
win32ss committed Feb 13, 2025
1 parent a998c43 commit 5624669
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chrome/installer/setup/installer_crash_reporter_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ bool InstallerCrashReporterClient::ReportingIsEnforcedByPolicy(bool* enabled) {
L"SOFTWARE\\Policies\\Google\\Chrome";
#else
static const wchar_t kRegistryChromePolicyKey[] =
L"SOFTWARE\\Policies\\Chromium";
L"SOFTWARE\\Policies\\Supermium";
#endif
static const wchar_t kMetricsReportingEnabled[] = L"MetricsReportingEnabled";

Expand Down
2 changes: 1 addition & 1 deletion components/policy/tools/generate_policy_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

CHROME_POLICY_KEY = 'SOFTWARE\\\\Policies\\\\Google\\\\Chrome'
CHROME_FOR_TESTING_POLICY_KEY = CHROME_POLICY_KEY + ' for Testing'
CHROMIUM_POLICY_KEY = 'SOFTWARE\\\\Policies\\\\Chromium'
CHROMIUM_POLICY_KEY = 'SOFTWARE\\\\Policies\\\\Supermium'
PLATFORM_STRINGS = {
'chrome_frame': ['win'],
'chrome_os': ['chrome_os'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ def GetConfigurationForBuild(defines):
'webview_name': 'Chromium WebView',
'win_config': {
'win': {
'reg_mandatory_key_name': 'Software\\Policies\\Chromium',
'reg_mandatory_key_name': 'Software\\Policies\\Supermium',
'reg_recommended_key_name':
'Software\\Policies\\Chromium\\Recommended',
'Software\\Policies\\Supermium\\Recommended',
'mandatory_category_path': ['chromium'],
'recommended_category_path': ['chromium_recommended'],
'category_path_strings': {
'chromium': 'Chromium',
'chromium_recommended': 'Chromium - {doc_recommended}',
'chromium': 'Supermium',
'chromium_recommended': 'Supermium - {doc_recommended}',
},
'namespace': 'Chromium.Policies.Chromium',
},
Expand Down
2 changes: 1 addition & 1 deletion remoting/host/policy_watcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
constexpr wchar_t kChromePolicyKey[] = L"SOFTWARE\\Policies\\Google\\Chrome";
#else
constexpr wchar_t kChromePolicyKey[] = L"SOFTWARE\\Policies\\Chromium";
constexpr wchar_t kChromePolicyKey[] = L"SOFTWARE\\Policies\\Supermium";
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
#endif // BUILDFLAG(IS_WIN)

Expand Down

0 comments on commit 5624669

Please sign in to comment.