Home
last modified time | relevance | path

Searched refs:UpgradeDetector (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/
Dupgrade_detector.h24 class UpgradeDetector {
36 static UpgradeDetector* GetInstance();
38 ~UpgradeDetector();
49 friend struct DefaultSingletonTraits<UpgradeDetector>;
51 UpgradeDetector();
66 base::RepeatingTimer<UpgradeDetector> detect_upgrade_timer_;
70 base::RepeatingTimer<UpgradeDetector> upgrade_notification_timer_;
75 ScopedRunnableMethodFactory<UpgradeDetector> method_factory_;
90 DISALLOW_COPY_AND_ASSIGN(UpgradeDetector);
Dupgrade_detector.cc153 void UpgradeDetector::RegisterPrefs(PrefService* prefs) { in RegisterPrefs()
157 UpgradeDetector::UpgradeDetector() in UpgradeDetector() function in UpgradeDetector
175 this, &UpgradeDetector::CheckForUpgrade); in UpgradeDetector()
180 UpgradeDetector::~UpgradeDetector() { in ~UpgradeDetector()
184 UpgradeDetector* UpgradeDetector::GetInstance() { in GetInstance()
185 return Singleton<UpgradeDetector>::get(); in GetInstance()
188 void UpgradeDetector::CheckForUpgrade() { in CheckForUpgrade()
191 method_factory_.NewRunnableMethod(&UpgradeDetector::UpgradeDetected); in CheckForUpgrade()
201 void UpgradeDetector::UpgradeDetected() { in UpgradeDetected()
211 Source<UpgradeDetector>(this), in UpgradeDetected()
[all …]
/external/chromium/chrome/browser/ui/toolbar/
Dwrench_menu_model.cc280 UpgradeDetector::UpgradeNotificationAnnoyanceLevel stage = in GetIconForCommandId()
281 UpgradeDetector::GetInstance()->upgrade_notification_stage(); in GetIconForCommandId()
283 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in GetIconForCommandId()
286 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in GetIconForCommandId()
289 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in GetIconForCommandId()
333 return UpgradeDetector::GetInstance()->notify_upgrade(); in IsCommandIdVisible()
/external/chromium/chrome/browser/ui/views/
Dtoolbar_view.cc583 return (UpgradeDetector::GetInstance()->notify_upgrade()); in IsUpgradeRecommended()
591 switch (UpgradeDetector::GetInstance()->upgrade_notification_stage()) { in GetUpgradeRecommendedBadge()
592 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in GetUpgradeRecommendedBadge()
594 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in GetUpgradeRecommendedBadge()
596 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in GetUpgradeRecommendedBadge()
/external/chromium/chrome/browser/prefs/
Dbrowser_prefs.cc101 UpgradeDetector::RegisterPrefs(local_state); in RegisterLocalState()
/external/chromium/chrome/browser/service/
Dservice_process_control.cc206 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnChannelConnected()
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_toolbar_gtk.cc631 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnWrenchMenuButtonExpose()
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller.mm546 if (UpgradeDetector::GetInstance()->notify_upgrade()) {