| Index: remoting/host/usage_stats_consent_win.cc
|
| diff --git a/remoting/host/usage_stats_consent_win.cc b/remoting/host/usage_stats_consent_win.cc
|
| index cefb1cf2beaccc5119ed4e5076e3f3fcb31d4275..f0d0a1dc5f9a63a26b521ded2e7ffd3362eb4201 100644
|
| --- a/remoting/host/usage_stats_consent_win.cc
|
| +++ b/remoting/host/usage_stats_consent_win.cc
|
| @@ -24,6 +24,7 @@ const wchar_t kOmahaClientStateMedium[] = L"ClientStateMedium";
|
| const wchar_t kOmahaUsagestatsValue[] = L"usagestats";
|
|
|
| LONG ReadUsageStatsValue(const wchar_t* state_key, DWORD* usagestats_out) {
|
| + // presubmit: allow wstring
|
| std::wstring client_state = StringPrintf(kOmahaClientStateKeyFormat,
|
| state_key,
|
| remoting::kHostOmahaAppid);
|
| @@ -71,6 +72,7 @@ bool IsUsageStatsAllowed() {
|
|
|
| bool SetUsageStatsConsent(bool allowed) {
|
| DWORD value = allowed;
|
| + // presubmit: allow wstring
|
| std::wstring client_state = StringPrintf(kOmahaClientStateKeyFormat,
|
| kOmahaClientStateMedium,
|
| kHostOmahaAppid);
|
|
|