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

Issue 10832071: [Chromoting] Let the Windows host policy watcher read string-valued policies. (Closed)

Created:
8 years, 4 months ago by simonmorris
Modified:
8 years, 4 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] Let the Windows host policy watcher read string-valued policies. BUG=132684 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149184

Patch Set 1 #

Total comments: 6

Patch Set 2 : Improve use of wide strings. #

Total comments: 2

Patch Set 3 : Use wstring instead of string16. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -8 lines) Patch
M remoting/host/policy_hack/policy_watcher_win.cc View 1 2 3 chunks +37 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
simonmorris
ptal
8 years, 4 months ago (2012-07-30 20:30:31 UTC) #1
alexeypa (please no reviews)
http://codereview.chromium.org/10832071/diff/1/remoting/host/policy_hack/policy_watcher_win.cc File remoting/host/policy_hack/policy_watcher_win.cc (right): http://codereview.chromium.org/10832071/diff/1/remoting/host/policy_hack/policy_watcher_win.cc#newcode115 remoting/host/policy_hack/policy_watcher_win.cc:115: bool GetRegistryPolicyString(const string16& value_name, Mixture of string16 and std::string ...
8 years, 4 months ago (2012-07-30 21:27:06 UTC) #2
simonmorris
I've made parallel changes to existing code. http://codereview.chromium.org/10832071/diff/1/remoting/host/policy_hack/policy_watcher_win.cc File remoting/host/policy_hack/policy_watcher_win.cc (right): http://codereview.chromium.org/10832071/diff/1/remoting/host/policy_hack/policy_watcher_win.cc#newcode115 remoting/host/policy_hack/policy_watcher_win.cc:115: bool GetRegistryPolicyString(const ...
8 years, 4 months ago (2012-07-30 22:08:17 UTC) #3
alexeypa (please no reviews)
LGTM when my comment is addressed. PS. Strings are mess aren't they? :) http://codereview.chromium.org/10832071/diff/3001/remoting/host/policy_hack/policy_watcher_win.cc File ...
8 years, 4 months ago (2012-07-30 22:15:44 UTC) #4
simonmorris
fyi http://codereview.chromium.org/10832071/diff/3001/remoting/host/policy_hack/policy_watcher_win.cc File remoting/host/policy_hack/policy_watcher_win.cc (right): http://codereview.chromium.org/10832071/diff/3001/remoting/host/policy_hack/policy_watcher_win.cc#newcode117 remoting/host/policy_hack/policy_watcher_win.cc:117: string16 value_name_wide = UTF8ToWide(value_name); On 2012/07/30 22:15:45, alexeypa ...
8 years, 4 months ago (2012-07-30 23:17:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10832071/3002
8 years, 4 months ago (2012-07-30 23:17:26 UTC) #6
commit-bot: I haz the power
Presubmit check for 10832071-3002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-30 23:17:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10832071/3002
8 years, 4 months ago (2012-07-30 23:34:48 UTC) #8
commit-bot: I haz the power
Presubmit check for 10832071-3002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-30 23:34:53 UTC) #9
alexeypa (please no reviews)
On 2012/07/30 23:34:53, I haz the power (commit-bot) wrote: > New code should not use ...
8 years, 4 months ago (2012-07-30 23:44:29 UTC) #10
simonmorris
8 years, 4 months ago (2012-07-30 23:54:32 UTC) #11
On 2012/07/30 23:44:29, alexeypa wrote:
> On 2012/07/30 23:34:53, I haz the power (commit-bot) wrote:
> > New code should not use wstrings.
> 
> You'll have to dcommit this CL, unfortunately.

Yes - I'll do it tomorrow morning, after the try bot has given it a green.

Powered by Google App Engine
This is Rietveld 408576698