diff options
author | chron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 21:44:43 +0000 |
---|---|---|
committer | chron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 21:44:43 +0000 |
commit | 5de3c6834b77d8b3eeec7b5d7175a2ab246ea234 (patch) | |
tree | d07b8ff32badac7913311f67bf1354403fea0f35 /chrome/test | |
parent | c9206275ca3f57888fcf9da96c647d8fcf67ff3f (diff) | |
download | chromium_src-5de3c6834b77d8b3eeec7b5d7175a2ab246ea234.zip chromium_src-5de3c6834b77d8b3eeec7b5d7175a2ab246ea234.tar.gz chromium_src-5de3c6834b77d8b3eeec7b5d7175a2ab246ea234.tar.bz2 |
The token service should now support issuing auth tokens.
The service will fetch tokens in the background and broadcast notifications after it's done.
Move some common constants out into a new file.
Modify TestNotificationTracker to support subclassing as it doesn't properly make a deep copy of notifications on the stack.
TEST=unit tests included
BUG=47093
Review URL: http://codereview.chromium.org/3024002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/test_notification_tracker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/test_notification_tracker.h b/chrome/test/test_notification_tracker.h index bb04c9b..c63cf7a 100644 --- a/chrome/test/test_notification_tracker.h +++ b/chrome/test/test_notification_tracker.h @@ -64,11 +64,11 @@ class TestNotificationTracker : public NotificationObserver { // be in [0, size). const Event& at(size_t i) const { return events_[i]; } - private: + protected: virtual void Observe(NotificationType type, const NotificationSource& source, const NotificationDetails& details); - + private: NotificationRegistrar registrar_; // Lists all received since last cleared, in the order they were received. |