Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4329)

Unified Diff: chrome/install_static/install_util.cc

Issue 2279063002: Fix argument name in install_static::ReportingIsEnforcedByPolicy to be not-misleading (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/install_static/install_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/install_static/install_util.cc
diff --git a/chrome/install_static/install_util.cc b/chrome/install_static/install_util.cc
index 3d49274552d945749152275fd1fd80e6f69ed456..bb8049b40af36a95cc37062561407e61ff05c1ec 100644
--- a/chrome/install_static/install_util.cc
+++ b/chrome/install_static/install_util.cc
@@ -453,20 +453,20 @@ bool SetCollectStatsInSample(bool in_sample) {
in_sample ? 1 : 0);
}
-bool ReportingIsEnforcedByPolicy(bool* metrics_is_enforced_by_policy) {
+bool ReportingIsEnforcedByPolicy(bool* crash_reporting_enabled) {
DWORD value = 0;
// First, try HKLM.
if (nt::QueryRegValueDWORD(nt::HKLM, kRegPathChromePolicy,
kMetricsReportingEnabled, &value)) {
- *metrics_is_enforced_by_policy = (value != 0);
+ *crash_reporting_enabled = (value != 0);
return true;
}
// Second, try HKCU.
if (nt::QueryRegValueDWORD(nt::HKCU, kRegPathChromePolicy,
kMetricsReportingEnabled, &value)) {
- *metrics_is_enforced_by_policy = (value != 0);
+ *crash_reporting_enabled = (value != 0);
return true;
}
« no previous file with comments | « chrome/install_static/install_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698