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

Issue 1135413002: Disable screenshot uploading if there has been user input. (Closed)

Created:
5 years, 7 months ago by Andrew T Wilson (Slow)
Modified:
5 years, 7 months ago
Reviewers:
cschuet (SLOW)
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable screenshot uploading if there has been user input. Updated StatusUploader to expose an API to determine if session data uploading is allowed, and updated screenshot remote command to call this function. BUG=487261 Committed: https://crrev.com/43bfb070ff0c80bba819aca72e53800d6f597b31 Cr-Commit-Position: refs/heads/master@{#330071}

Patch Set 1 #

Patch Set 2 : Fixed leak in test. #

Total comments: 11

Patch Set 3 : Review feedback #

Patch Set 4 : Self-review #

Messages

Total messages: 11 (2 generated)
Andrew T Wilson (Slow)
PTAL
5 years, 7 months ago (2015-05-13 15:01:28 UTC) #2
cschuet (SLOW)
https://codereview.chromium.org/1135413002/diff/20001/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h File chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h (right): https://codereview.chromium.org/1135413002/diff/20001/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h#newcode82 chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h:82: StatusUploader* uploader); This is quite a heavy dependency just ...
5 years, 7 months ago (2015-05-13 15:56:09 UTC) #3
Andrew T Wilson (Slow)
OK, agreed that it probably makes sense to expose a new API to ScreenshotDelegate - ...
5 years, 7 months ago (2015-05-14 09:20:28 UTC) #4
cschuet (SLOW)
> I'm thinking of going with the second approach - it seems cleaner > (DeviceCommandsFactory ...
5 years, 7 months ago (2015-05-14 09:46:01 UTC) #5
Andrew T Wilson (Slow)
PTAL https://codereview.chromium.org/1135413002/diff/20001/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc File chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc (right): https://codereview.chromium.org/1135413002/diff/20001/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc#newcode202 chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc:202: if (root_windows.size() == 0) { On 2015/05/14 09:46:01, ...
5 years, 7 months ago (2015-05-15 09:43:51 UTC) #6
cschuet (SLOW)
On 2015/05/15 09:43:51, Andrew T Wilson wrote: > PTAL > > https://codereview.chromium.org/1135413002/diff/20001/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc > File > ...
5 years, 7 months ago (2015-05-15 09:55:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1135413002/60001
5 years, 7 months ago (2015-05-15 10:30:24 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-15 10:33:45 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 10:34:42 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/43bfb070ff0c80bba819aca72e53800d6f597b31
Cr-Commit-Position: refs/heads/master@{#330071}

Powered by Google App Engine
This is Rietveld 408576698