AlarmManager 40 chrome/browser/extensions/api/alarms/alarm_manager.cc class DefaultAlarmDelegate : public AlarmManager::Delegate { AlarmManager 100 chrome/browser/extensions/api/alarms/alarm_manager.cc AlarmManager::AlarmManager(content::BrowserContext* context) AlarmManager 114 chrome/browser/extensions/api/alarms/alarm_manager.cc AlarmManager::~AlarmManager() { AlarmManager 117 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::AddAlarm(const std::string& extension_id, AlarmManager 121 chrome/browser/extensions/api/alarms/alarm_manager.cc &AlarmManager::AddAlarmWhenReady, AsWeakPtr(), alarm, callback)); AlarmManager 124 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::GetAlarm(const std::string& extension_id, AlarmManager 128 chrome/browser/extensions/api/alarms/alarm_manager.cc &AlarmManager::GetAlarmWhenReady, AsWeakPtr(), name, callback)); AlarmManager 131 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::GetAllAlarms( AlarmManager 134 chrome/browser/extensions/api/alarms/alarm_manager.cc &AlarmManager::GetAllAlarmsWhenReady, AsWeakPtr(), callback)); AlarmManager 137 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::RemoveAlarm(const std::string& extension_id, AlarmManager 141 chrome/browser/extensions/api/alarms/alarm_manager.cc &AlarmManager::RemoveAlarmWhenReady, AsWeakPtr(), name, callback)); AlarmManager 144 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::RemoveAllAlarms(const std::string& extension_id, AlarmManager 147 chrome/browser/extensions/api/alarms/alarm_manager.cc &AlarmManager::RemoveAllAlarmsWhenReady, AsWeakPtr(), callback)); AlarmManager 150 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::AddAlarmWhenReady(const Alarm& alarm, AlarmManager 158 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::GetAlarmWhenReady(const std::string& name, AlarmManager 165 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::GetAllAlarmsWhenReady(const GetAllAlarmsCallback& callback, AlarmManager 171 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::RemoveAlarmWhenReady(const std::string& name, AlarmManager 185 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::RemoveAllAlarmsWhenReady( AlarmManager 200 chrome/browser/extensions/api/alarms/alarm_manager.cc AlarmManager::AlarmIterator AlarmManager::GetAlarmIterator( AlarmManager 215 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::SetClockForTesting(base::Clock* clock) { AlarmManager 219 chrome/browser/extensions/api/alarms/alarm_manager.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<AlarmManager> > AlarmManager 223 chrome/browser/extensions/api/alarms/alarm_manager.cc BrowserContextKeyedAPIFactory<AlarmManager>* AlarmManager 224 chrome/browser/extensions/api/alarms/alarm_manager.cc AlarmManager::GetFactoryInstance() { AlarmManager 229 chrome/browser/extensions/api/alarms/alarm_manager.cc AlarmManager* AlarmManager::Get(Profile* profile) { AlarmManager 230 chrome/browser/extensions/api/alarms/alarm_manager.cc return BrowserContextKeyedAPIFactory<AlarmManager>::Get(profile); AlarmManager 233 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::RemoveAlarmIterator(const AlarmIterator& iter) { AlarmManager 248 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::OnAlarm(AlarmIterator it) { AlarmManager 277 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::AddAlarmImpl(const std::string& extension_id, AlarmManager 292 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::WriteToStorage(const std::string& extension_id) { AlarmManager 306 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::ReadFromStorage(const std::string& extension_id, AlarmManager 323 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::SetNextPollTime(const base::Time& time) { AlarmManager 328 chrome/browser/extensions/api/alarms/alarm_manager.cc &AlarmManager::PollAlarms); AlarmManager 331 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::ScheduleNextPoll() { AlarmManager 375 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::PollAlarms() { AlarmManager 403 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::RunWhenReady( AlarmManager 413 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::Observe( AlarmManager 426 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Bind(&AlarmManager::ReadFromStorage, AlarmManager 58 chrome/browser/extensions/api/alarms/alarm_manager.h class AlarmManager : public BrowserContextKeyedAPI, AlarmManager 60 chrome/browser/extensions/api/alarms/alarm_manager.h public base::SupportsWeakPtr<AlarmManager> { AlarmManager 72 chrome/browser/extensions/api/alarms/alarm_manager.h explicit AlarmManager(content::BrowserContext* context); AlarmManager 73 chrome/browser/extensions/api/alarms/alarm_manager.h virtual ~AlarmManager(); AlarmManager 115 chrome/browser/extensions/api/alarms/alarm_manager.h static BrowserContextKeyedAPIFactory<AlarmManager>* GetFactoryInstance(); AlarmManager 118 chrome/browser/extensions/api/alarms/alarm_manager.h static AlarmManager* Get(Profile* profile); AlarmManager 121 chrome/browser/extensions/api/alarms/alarm_manager.h friend void RunScheduleNextPoll(AlarmManager*); AlarmManager 132 chrome/browser/extensions/api/alarms/alarm_manager.h friend class BrowserContextKeyedAPIFactory<AlarmManager>; AlarmManager 223 chrome/browser/extensions/api/alarms/alarm_manager.h base::OneShotTimer<AlarmManager> timer_; AlarmManager 239 chrome/browser/extensions/api/alarms/alarm_manager.h DISALLOW_COPY_AND_ASSIGN(AlarmManager); AlarmManager 123 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmManager::Get(GetProfile())->AddAlarm( AlarmManager 138 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmManager::Get(GetProfile()) AlarmManager 158 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmManager::Get(GetProfile())->GetAllAlarms( AlarmManager 183 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmManager::Get(GetProfile()) AlarmManager 197 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmManager::Get(GetProfile())->RemoveAllAlarms( AlarmManager 31 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc class AlarmDelegate : public AlarmManager::Delegate { AlarmManager 46 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc void RunScheduleNextPoll(AlarmManager* alarm_manager) { AlarmManager 58 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_ = AlarmManager::Get(browser()->profile()); AlarmManager 108 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc AlarmManager* alarm_manager_; AlarmManager 113 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { AlarmManager 261 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { AlarmManager 360 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { AlarmManager 369 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ExtensionAlarmsTest* test, const AlarmManager::AlarmList* alarms) { AlarmManager 423 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { AlarmManager 428 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ExtensionAlarmsTest* test, const AlarmManager::AlarmList* alarms) { AlarmManager 82 chrome/browser/extensions/browser_context_keyed_service_factories.cc extensions::AlarmManager::GetFactoryInstance();