commit | 2c18a8882393c1603aba65fad21d5bd84e906e4d | [log] [tgz] |
---|---|---|
author | Jason Tsay <jasontsay@google.com> | Tue Aug 09 15:31:32 2011 -0700 |
committer | Mohan Zhang <mozhang@nvidia.com> | Mon Dec 12 18:40:00 2011 -0600 |
tree | deb4d9c1c293654e2a7ab83d0431c1f84f34ced9 | |
parent | 8f713a4ea9abe54a99ca6cbbbcf6168a3d57723a [diff] |
ChangeControl visibility takes draft into account isVisible() in ChangeControl now considers whether or not the change is a draft. As ReviewDb is needed to see whether or not a user has visibility for a certain change, this change also refactors most uses of isVisible() to also pass in ReviewDb. As a bonus, much of the notification routines seem to work as wanted, due to the new visibility checks. Change-Id: I4c3b068413e4db30edb23f498f61048142cb6713