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

Issue 10537182: The user's consent to crash dumps reporting can now be set via the UI (Windows only). The checkbox … (Closed)

Created:
8 years, 6 months ago by alexeypa (please no reviews)
Modified:
8 years, 6 months ago
Reviewers:
Jamie
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

The user's consent to crash dumps reporting can now be set via the UI (Windows only). The checkbox is presented on the Start/Change PIN dialog. The user's selection is then written to usagestats under ClientStateMedium key. BUG=130678 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143504

Patch Set 1 #

Total comments: 48

Patch Set 2 : CR feedback & rebased. #

Total comments: 10

Patch Set 3 : Try to create ClientStateMedium key if needed. #

Patch Set 4 : Fixing issues reported by the JS compiler. #

Total comments: 2

Patch Set 5 : CR feedback. #

Total comments: 6

Patch Set 6 : Only the official builds should upload crashes to Breakpad. #

Patch Set 7 : Final nits. #

Patch Set 8 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -63 lines) Patch
M remoting/base/breakpad_win.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/host/elevated_controller.idl View 1 2 chunks +22 lines, -3 lines 0 comments Download
M remoting/host/elevated_controller_module_win.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/elevated_controller_win.h View 1 3 chunks +7 lines, -2 lines 0 comments Download
M remoting/host/elevated_controller_win.cc View 1 2 3 4 5 6 7 2 chunks +22 lines, -0 lines 0 comments Download
M remoting/host/host_service_win.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/installer/chromoting.wxs View 1 2 3 4 5 6 7 2 chunks +14 lines, -1 line 0 comments Download
M remoting/host/plugin/daemon_controller.h View 1 2 3 4 3 chunks +15 lines, -1 line 0 comments Download
M remoting/host/plugin/daemon_controller_linux.cc View 1 2 3 5 chunks +18 lines, -6 lines 0 comments Download
M remoting/host/plugin/daemon_controller_mac.cc View 1 2 3 4 5 6 7 5 chunks +18 lines, -6 lines 0 comments Download
M remoting/host/plugin/daemon_controller_win.cc View 1 2 3 4 5 6 7 13 chunks +85 lines, -20 lines 0 comments Download
M remoting/host/plugin/host_script_object.h View 1 3 chunks +17 lines, -4 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 8 chunks +60 lines, -3 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/usage_stats_consent.h View 1 2 3 4 5 6 1 chunk +13 lines, -2 lines 0 comments Download
M remoting/host/usage_stats_consent_win.cc View 1 2 3 4 3 chunks +39 lines, -4 lines 0 comments Download
M remoting/webapp/_locales/en/messages.json View 1 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/webapp/host_controller.js View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M remoting/webapp/host_plugin_proto.js View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M remoting/webapp/host_setup_dialog.js View 1 2 3 4 5 6 6 chunks +28 lines, -1 line 0 comments Download
M remoting/webapp/main.css View 1 2 3 4 5 6 2 chunks +16 lines, -1 line 0 comments Download
M remoting/webapp/main.html View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
alexeypa (please no reviews)
PTAL.
8 years, 6 months ago (2012-06-14 21:49:58 UTC) #1
Jamie
https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/breakpad_win.cc File remoting/host/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/breakpad_win.cc#newcode29 remoting/host/breakpad_win.cc:29: bool GetUsageStatsConsent(bool* set_by_policy_opt, bool* allowed) { Is the _opt ...
8 years, 6 months ago (2012-06-14 23:43:56 UTC) #2
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/breakpad_win.cc File remoting/host/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/breakpad_win.cc#newcode29 remoting/host/breakpad_win.cc:29: bool GetUsageStatsConsent(bool* set_by_policy_opt, bool* allowed) { On 2012/06/14 23:43:56, ...
8 years, 6 months ago (2012-06-19 23:27:29 UTC) #3
Jamie
https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/plugin/daemon_controller_win.cc File remoting/host/plugin/daemon_controller_win.cc (right): https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/plugin/daemon_controller_win.cc#newcode332 remoting/host/plugin/daemon_controller_win.cc:332: control_.QueryInterface(IID_IDaemonControl2, control2_.ReceiveVoid()); On 2012/06/19 23:27:29, alexeypa wrote: > On ...
8 years, 6 months ago (2012-06-21 18:47:52 UTC) #4
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/plugin/daemon_controller_win.cc File remoting/host/plugin/daemon_controller_win.cc (right): https://chromiumcodereview.appspot.com/10537182/diff/1/remoting/host/plugin/daemon_controller_win.cc#newcode332 remoting/host/plugin/daemon_controller_win.cc:332: control_.QueryInterface(IID_IDaemonControl2, control2_.ReceiveVoid()); On 2012/06/21 18:47:52, Jamie wrote: > My ...
8 years, 6 months ago (2012-06-21 23:30:25 UTC) #5
Jamie
LGTM with a few final tweaks. https://chromiumcodereview.appspot.com/10537182/diff/11001/remoting/webapp/main.css File remoting/webapp/main.css (right): https://chromiumcodereview.appspot.com/10537182/diff/11001/remoting/webapp/main.css#newcode479 remoting/webapp/main.css:479: float: left; On ...
8 years, 6 months ago (2012-06-21 23:49:31 UTC) #6
alexeypa (please no reviews)
8 years, 6 months ago (2012-06-22 00:09:27 UTC) #7
https://chromiumcodereview.appspot.com/10537182/diff/11001/remoting/webapp/ma...
File remoting/webapp/main.css (right):

https://chromiumcodereview.appspot.com/10537182/diff/11001/remoting/webapp/ma...
remoting/webapp/main.css:479: float: left;
On 2012/06/21 23:49:31, Jamie wrote:
> On 2012/06/21 23:30:26, alexeypa wrote:
> > On 2012/06/21 18:47:52, Jamie wrote:
> > > Floats should not be necessary for a simple layout like this, and I've
tried
> > to
> > > avoid them where possible because they make the layout harder to reason
> about.
> > 
> > I'll file an M22 bug on that.
> > 
> 
> Could you add a TODO as well please?

Done. http://crbug.com/134063

https://chromiumcodereview.appspot.com/10537182/diff/35001/remoting/host/usag...
File remoting/host/usage_stats_consent.h (right):

https://chromiumcodereview.appspot.com/10537182/diff/35001/remoting/host/usag...
remoting/host/usage_stats_consent.h:15: // usage statistics. In most cases the
returned value matched |allowed| returned
On 2012/06/21 23:49:31, Jamie wrote:
> Nit: s/matched/matches/

Done.

https://chromiumcodereview.appspot.com/10537182/diff/35001/remoting/host/usag...
remoting/host/usage_stats_consent.h:16: // by GetUsageStatsConsent(). When
GetUsageStatsConsent() fails this routine
On 2012/06/21 23:49:31, Jamie wrote:
> Nit: s/When/If/

Done.

https://chromiumcodereview.appspot.com/10537182/diff/35001/remoting/webapp/ho...
File remoting/webapp/host_setup_dialog.js (right):

https://chromiumcodereview.appspot.com/10537182/diff/35001/remoting/webapp/ho...
remoting/webapp/host_setup_dialog.js:169: this.usageStatsCheckbox_.checked =
false;
On 2012/06/21 23:49:31, Jamie wrote:
> To minimize potentially jarring changes after the dialog is shown, I think
this
> should be initialized to true. That will be the default, and I suspect most
> users won't change it, so I think it makes more sense.

Done.

Powered by Google App Engine
This is Rietveld 408576698