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

Issue 18053006: Added retry support to AttestationPolicyObserver. (Closed)

Created:
7 years, 5 months ago by dkrahn
Modified:
7 years, 5 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, dkrahn+watch_chromium.org
Visibility:
Public.

Description

Added retry support to AttestationPolicyObserver. It is currently possible for this observer to run before the cryptohome dbus interface is ready. If the policy does not change, the observer only runs again on the next login. For users who only login immediately after boot, this means the observer may never succeed. This CL implements a simple mechanism to reschedule on failure. BUG=chromium:253646 TEST=unit Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210029

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -1 line) Patch
M chrome/browser/chromeos/attestation/attestation_policy_observer.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_policy_observer.cc View 1 12 chunks +38 lines, -1 line 0 comments Download
M chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dkrahn
7 years, 5 months ago (2013-07-01 18:28:27 UTC) #1
Mattias Nissler (ping if slow)
FWIW, we've seen similar problems in a different context. When Will debugged http://crbug.com/189681 he found ...
7 years, 5 months ago (2013-07-02 08:18:07 UTC) #2
dkrahn
https://chromiumcodereview.appspot.com/18053006/diff/1/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (right): https://chromiumcodereview.appspot.com/18053006/diff/1/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#newcode155 chrome/browser/chromeos/attestation/attestation_policy_observer.cc:155: Reschedule(); On 2013/07/02 08:18:07, Mattias Nissler wrote: > Why ...
7 years, 5 months ago (2013-07-02 21:00:01 UTC) #3
dkrahn
Filed https://code.google.com/p/chromium/issues/detail?id=256841 for handling upload errors and https://code.google.com/p/chromium/issues/detail?id=256845 for adding cryptohome events. I'm open to ...
7 years, 5 months ago (2013-07-02 21:52:19 UTC) #4
Mattias Nissler (ping if slow)
LGTM w/ a nit. Regarding the cryptohome DBus interface cleanup, that would be a nice ...
7 years, 5 months ago (2013-07-03 15:20:29 UTC) #5
dkrahn
https://chromiumcodereview.appspot.com/18053006/diff/5001/chrome/browser/chromeos/attestation/attestation_policy_observer.h File chrome/browser/chromeos/attestation/attestation_policy_observer.h (right): https://chromiumcodereview.appspot.com/18053006/diff/5001/chrome/browser/chromeos/attestation/attestation_policy_observer.h#newcode88 chrome/browser/chromeos/attestation/attestation_policy_observer.h:88: // Reschedules a policy check (i.e. a call to ...
7 years, 5 months ago (2013-07-03 18:07:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@google.com/18053006/12001
7 years, 5 months ago (2013-07-03 18:08:20 UTC) #7
commit-bot: I haz the power
7 years, 5 months ago (2013-07-03 20:04:23 UTC) #8
Message was sent while issue was closed.
Change committed as 210029

Powered by Google App Engine
This is Rietveld 408576698