cc: Add HasPendingNotification to delayed unique notifier.
commit0a1028720842edd2df5e02a8b08ccb088be354ec
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 May 2014 10:08:03 +0000 (30 10:08 +0000)
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 May 2014 10:08:03 +0000 (30 10:08 +0000)
treeddb2716b169d77920df1489215cf829da007a6f1
parentb73427e731ca23234f23124b5ac25748287d9703
cc: Add HasPendingNotification to delayed unique notifier.

It would be nice to know if a notification is pending, so this patch
adds this ability. This would be used in RenewTreePriority to detect
whether we should be in smoothness mode or same priority mode. That is,
if we have an expiration from smoothness pending, then we should still
be in smoothness mode.

R=reveman

Review URL: https://codereview.chromium.org/302003004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273780 0039d316-1c4b-4281-b951-d872f2087c98
cc/base/delayed_unique_notifier.cc
cc/base/delayed_unique_notifier.h
cc/base/delayed_unique_notifier_unittest.cc