| 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 fa7345bd6baf3eb3341c69994cfb96aa3aefee60..fea38538b5a77c3cac2343f3864d52032a8d88d8 100644
|
| --- a/remoting/host/usage_stats_consent_win.cc
|
| +++ b/remoting/host/usage_stats_consent_win.cc
|
| @@ -25,9 +25,9 @@ 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);
|
| + std::wstring client_state = base::StringPrintf(kOmahaClientStateKeyFormat,
|
| + state_key,
|
| + remoting::kHostOmahaAppid);
|
| base::win::RegKey key;
|
| LONG result = key.Open(HKEY_LOCAL_MACHINE, client_state.c_str(), KEY_READ);
|
| if (result != ERROR_SUCCESS) {
|
| @@ -73,9 +73,9 @@ bool IsUsageStatsAllowed() {
|
| bool SetUsageStatsConsent(bool allowed) {
|
| DWORD value = allowed;
|
| // presubmit: allow wstring
|
| - std::wstring client_state = StringPrintf(kOmahaClientStateKeyFormat,
|
| - kOmahaClientStateMedium,
|
| - kHostOmahaAppid);
|
| + std::wstring client_state = base::StringPrintf(kOmahaClientStateKeyFormat,
|
| + kOmahaClientStateMedium,
|
| + kHostOmahaAppid);
|
| base::win::RegKey key;
|
| LONG result = key.Create(HKEY_LOCAL_MACHINE, client_state.c_str(),
|
| KEY_SET_VALUE);
|
|
|