Searched refs:IdleManager (Results 1 – 6 of 6) sorted by relevance
31 class DefaultEventDelegate : public IdleManager::EventDelegate {55 args->Append(IdleManager::CreateIdleValue(new_state)); in OnStateChanged()74 class DefaultIdleProvider : public IdleManager::IdleTimeProvider {125 IdleManager::IdleManager(Profile* profile) in IdleManager() function in extensions::IdleManager133 IdleManager::~IdleManager() { in ~IdleManager()136 void IdleManager::Init() { in Init()142 void IdleManager::Shutdown() { in Shutdown()147 void IdleManager::Observe(int type, in Observe()161 void IdleManager::OnListenerAdded(const EventListenerInfo& details) { in OnListenerAdded()168 void IdleManager::OnListenerRemoved(const EventListenerInfo& details) { in OnListenerRemoved()[all …]
16 IdleManager* IdleManagerFactory::GetForProfile( in GetForProfile()18 return static_cast<IdleManager*>( in GetForProfile()39 IdleManager* idle_manager = new IdleManager(static_cast<Profile*>(profile)); in BuildServiceInstanceFor()
40 class IdleManager : public content::NotificationObserver,70 explicit IdleManager(Profile* profile);71 virtual ~IdleManager();125 base::RepeatingTimer<IdleManager> poll_timer_;126 base::WeakPtrFactory<IdleManager> weak_factory_;134 DISALLOW_COPY_AND_ASSIGN(IdleManager);
34 class MockEventDelegate : public IdleManager::EventDelegate {43 class TestIdleProvider : public IdleManager::IdleTimeProvider {99 ScopedListen(IdleManager* idle_manager, const std::string& extension_id);103 IdleManager* idle_manager_;107 ScopedListen::ScopedListen(IdleManager* idle_manager, in ScopedListen()126 return new IdleManager(static_cast<Profile*>(profile)); in IdleManagerTestFactory()139 IdleManager* idle_manager_;157 scoped_ptr<IdleManager::IdleTimeProvider>(idle_provider_).Pass()); in SetUp()160 scoped_ptr<IdleManager::EventDelegate>(event_delegate_).Pass()); in SetUp()
14 class IdleManager; variable18 static IdleManager* GetForProfile(Profile* profile);
46 SetResult(IdleManager::CreateIdleValue(state)); in IdleStateCallback()