IdleManager 46 chrome/browser/extensions/api/idle/idle_api.cc SetResult(IdleManager::CreateIdleValue(state)); IdleManager 32 chrome/browser/extensions/api/idle/idle_api_unittest.cc class MockEventDelegate : public IdleManager::EventDelegate { IdleManager 41 chrome/browser/extensions/api/idle/idle_api_unittest.cc class TestIdleProvider : public IdleManager::IdleTimeProvider { IdleManager 97 chrome/browser/extensions/api/idle/idle_api_unittest.cc ScopedListen(IdleManager* idle_manager, const std::string& extension_id); IdleManager 101 chrome/browser/extensions/api/idle/idle_api_unittest.cc IdleManager* idle_manager_; IdleManager 105 chrome/browser/extensions/api/idle/idle_api_unittest.cc ScopedListen::ScopedListen(IdleManager* idle_manager, IdleManager 123 chrome/browser/extensions/api/idle/idle_api_unittest.cc return new IdleManager(static_cast<Profile*>(profile)); IdleManager 133 chrome/browser/extensions/api/idle/idle_api_unittest.cc IdleManager* idle_manager_; IdleManager 147 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<IdleManager::IdleTimeProvider>(idle_provider_).Pass()); IdleManager 150 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<IdleManager::EventDelegate>(event_delegate_).Pass()); IdleManager 31 chrome/browser/extensions/api/idle/idle_manager.cc class DefaultEventDelegate : public IdleManager::EventDelegate { IdleManager 55 chrome/browser/extensions/api/idle/idle_manager.cc args->Append(IdleManager::CreateIdleValue(new_state)); IdleManager 74 chrome/browser/extensions/api/idle/idle_manager.cc class DefaultIdleProvider : public IdleManager::IdleTimeProvider { IdleManager 125 chrome/browser/extensions/api/idle/idle_manager.cc IdleManager::IdleManager(Profile* profile) IdleManager 133 chrome/browser/extensions/api/idle/idle_manager.cc IdleManager::~IdleManager() { IdleManager 136 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::Init() { IdleManager 142 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::Shutdown() { IdleManager 147 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::Observe(int type, IdleManager 161 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::OnListenerAdded(const EventListenerInfo& details) { IdleManager 168 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::OnListenerRemoved(const EventListenerInfo& details) { IdleManager 180 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::QueryState(int threshold, QueryStateCallback notify) { IdleManager 185 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::SetThreshold(const std::string& extension_id, IdleManager 192 chrome/browser/extensions/api/idle/idle_manager.cc base::StringValue* IdleManager::CreateIdleValue(IdleState idle_state) { IdleManager 206 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::SetEventDelegateForTest( IdleManager 212 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::SetIdleTimeProviderForTest( IdleManager 218 chrome/browser/extensions/api/idle/idle_manager.cc IdleMonitor* IdleManager::GetMonitor(const std::string& extension_id) { IdleManager 229 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::StartPolling() { IdleManager 235 chrome/browser/extensions/api/idle/idle_manager.cc &IdleManager::UpdateIdleState); IdleManager 239 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::StopPolling() { IdleManager 244 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::UpdateIdleState() { IdleManager 248 chrome/browser/extensions/api/idle/idle_manager.cc &IdleManager::UpdateIdleStateCallback, IdleManager 252 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::UpdateIdleStateCallback(int idle_time) { IdleManager 40 chrome/browser/extensions/api/idle/idle_manager.h class IdleManager : public content::NotificationObserver, IdleManager 70 chrome/browser/extensions/api/idle/idle_manager.h explicit IdleManager(Profile* profile); IdleManager 71 chrome/browser/extensions/api/idle/idle_manager.h virtual ~IdleManager(); IdleManager 125 chrome/browser/extensions/api/idle/idle_manager.h base::RepeatingTimer<IdleManager> poll_timer_; IdleManager 126 chrome/browser/extensions/api/idle/idle_manager.h base::WeakPtrFactory<IdleManager> weak_factory_; IdleManager 134 chrome/browser/extensions/api/idle/idle_manager.h DISALLOW_COPY_AND_ASSIGN(IdleManager); IdleManager 16 chrome/browser/extensions/api/idle/idle_manager_factory.cc IdleManager* IdleManagerFactory::GetForProfile( IdleManager 18 chrome/browser/extensions/api/idle/idle_manager_factory.cc return static_cast<IdleManager*>( IdleManager 39 chrome/browser/extensions/api/idle/idle_manager_factory.cc IdleManager* idle_manager = new IdleManager(static_cast<Profile*>(profile)); IdleManager 14 chrome/browser/extensions/api/idle/idle_manager_factory.h class IdleManager; IdleManager 18 chrome/browser/extensions/api/idle/idle_manager_factory.h static IdleManager* GetForProfile(Profile* profile);