Searched defs:DailyEvent (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/components/metrics/
H A Ddaily_event.h18 // DailyEvent is used for throttling an event to about once per day, even if
22 // The service using the DailyEvent should first provide all of the Observers
25 class DailyEvent { class in namespace:metrics
27 // Observer receives notifications from a DailyEvent.
28 // Observers must be added before the DailyEvent begins checking time,
29 // and will be owned by the DailyEvent.
42 // Constructs DailyEvent monitor which stores the time it last fired in the
46 // outlive the DailyEvent.
49 DailyEvent(PrefService* pref_service,
52 ~DailyEvent();
[all...]
H A Ddaily_event.cc35 DailyEvent::Observer::Observer() {
38 DailyEvent::Observer::~Observer() {
41 DailyEvent::DailyEvent(PrefService* pref_service, function in class:metrics::DailyEvent
49 DailyEvent::~DailyEvent() {
53 void DailyEvent::RegisterPref(PrefRegistrySimple* registry,
58 void DailyEvent::AddObserver(scoped_ptr<DailyEvent::Observer> observer) {
59 DVLOG(2) << "DailyEvent observe
[all...]

Completed in 166 milliseconds