Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/
Dupgrade_detector.cc35 void UpgradeDetector::RegisterPrefs(PrefRegistrySimple* registry) { in RegisterPrefs()
40 int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) { in GetIconResourceID()
81 UpgradeDetector::UpgradeDetector() in UpgradeDetector() function in UpgradeDetector
88 UpgradeDetector::~UpgradeDetector() { in ~UpgradeDetector()
91 void UpgradeDetector::NotifyUpgradeDetected() { in NotifyUpgradeDetected()
96 void UpgradeDetector::NotifyUpgradeRecommended() { in NotifyUpgradeRecommended()
101 content::Source<UpgradeDetector>(this), in NotifyUpgradeRecommended()
108 content::Source<UpgradeDetector>(this), in NotifyUpgradeRecommended()
118 this, &UpgradeDetector::CheckIdle); in NotifyUpgradeRecommended()
126 void UpgradeDetector::CheckIdle() { in CheckIdle()
[all …]
Dupgrade_detector.h24 class UpgradeDetector {
43 static UpgradeDetector* GetInstance();
45 virtual ~UpgradeDetector();
85 UpgradeDetector();
127 base::RepeatingTimer<UpgradeDetector> idle_check_timer_;
136 DISALLOW_COPY_AND_ASSIGN(UpgradeDetector);
Dupgrade_detector_impl.h15 class UpgradeDetectorImpl : public UpgradeDetector {
Dupgrade_detector_impl.cc430 UpgradeDetector* UpgradeDetector::GetInstance() { in GetInstance()
/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_org/chrome/browser/ui/toolbar/
Dwrench_icon_painter.cc35 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level) { in SeverityFromUpgradeLevel()
37 case UpgradeDetector::UPGRADE_ANNOYANCE_NONE: in SeverityFromUpgradeLevel()
39 case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: in SeverityFromUpgradeLevel()
41 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in SeverityFromUpgradeLevel()
43 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in SeverityFromUpgradeLevel()
45 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in SeverityFromUpgradeLevel()
47 case UpgradeDetector::UPGRADE_ANNOYANCE_CRITICAL: in SeverityFromUpgradeLevel()
56 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level) { in ShouldAnimateUpgradeLevel()
58 if (level == UpgradeDetector::UPGRADE_ANNOYANCE_LOW) { in ShouldAnimateUpgradeLevel()
Dwrench_icon_painter.h51 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level);
55 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level);
Dwrench_menu_model.cc84 if (UpgradeDetector::GetInstance()->is_outdated_install()) { in GetUpgradeDialogMenuItemName()
327 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in GetIconForCommandId()
329 UpgradeDetector::GetInstance()->GetIconResourceID( in GetIconForCommandId()
330 UpgradeDetector::UPGRADE_ICON_TYPE_MENU_ICON)); in GetIconForCommandId()
424 return UpgradeDetector::GetInstance()->notify_upgrade();
/external/chromium_org/chrome/browser/ui/ash/
Dsystem_tray_delegate_win.cc93 return UpgradeDetector::GetInstance()->notify_upgrade(); in SystemShouldUpgrade()
292 UpgradeDetector* detector = in Observe()
293 content::Source<UpgradeDetector>(source).ptr(); in Observe()
297 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in Observe()
300 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in Observe()
303 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in Observe()
306 case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: in Observe()
/external/chromium_org/chrome/browser/ui/views/
Dcritical_notification_bubble_view.cc85 UpgradeDetector* upgrade_detector = UpgradeDetector::GetInstance(); in OnCountdown()
114 UpgradeDetector::GetInstance()->acknowledge_critical_update(); in ButtonPressed()
152 UpgradeDetector::GetInstance()->acknowledge_critical_update(); in AcceleratorPressed()
Doutdated_upgrade_bubble_view.cc189 DCHECK(UpgradeDetector::GetInstance()->is_outdated_install()); in HandleButtonPressed()
/external/chromium_org/chrome/browser/chromeos/
Dupgrade_detector_chromeos.cc89 UpgradeDetector* UpgradeDetector::GetInstance() { in GetInstance()
Dupgrade_detector_chromeos.h15 class UpgradeDetectorChromeos : public UpgradeDetector,
/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_org/chrome/browser/ui/webui/help/
Dversion_updater_basic.cc13 if (UpgradeDetector::GetInstance()->notify_upgrade()) in CheckForUpdate()
/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_org/chrome/browser/chromeos/system/
Dash_system_tray_delegate.cc467 return UpgradeDetector::GetInstance()->notify_upgrade(); in SystemShouldUpgrade()
1062 UpgradeDetector* detector = in Observe()
1063 content::Source<UpgradeDetector>(source).ptr(); in Observe()
1067 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in Observe()
1071 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in Observe()
1075 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in Observe()
1079 case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: in Observe()
/external/chromium_org/chrome/browser/extensions/api/system_private/
Dsystem_private_api.cc121 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in RunImpl()
/external/chromium_org/chrome/browser/ui/gtk/
Dbrowser_toolbar_gtk.cc680 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnWrenchMenuButtonExpose()
681 resource_id = UpgradeDetector::GetInstance()->GetIconResourceID( in OnWrenchMenuButtonExpose()
682 UpgradeDetector::UPGRADE_ICON_TYPE_BADGE); in OnWrenchMenuButtonExpose()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.cc736 return (UpgradeDetector::GetInstance()->notify_upgrade()); in ShouldShowUpgradeRecommended()
813 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level = in UpdateWrenchButtonSeverity()
814 UpgradeDetector::GetInstance()->upgrade_notification_stage(); in UpdateWrenchButtonSeverity()
/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_org/chrome/browser/service_process/
Dservice_process_control.cc205 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnChannelConnected()
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller.mm558 if (UpgradeDetector::GetInstance()->notify_upgrade()) {
559 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level =
560 UpgradeDetector::GetInstance()->upgrade_notification_stage();

12