summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser.gypi
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-12 23:27:12 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-12 23:27:12 +0000
commitceff840da7632736581f06bcd3f1495ef55fe42f (patch)
treedf7716a71e1066cbd8613e47aa9edeea66d20348 /chrome/chrome_browser.gypi
parenta2d4b9cfbcbed0bf23d9fe69e690bcc31fc0b780 (diff)
downloadchromium_src-ceff840da7632736581f06bcd3f1495ef55fe42f.zip
chromium_src-ceff840da7632736581f06bcd3f1495ef55fe42f.tar.gz
chromium_src-ceff840da7632736581f06bcd3f1495ef55fe42f.tar.bz2
Refactor UpgradeDetector.
- Move peroidically timer based detection code into UpgradeDetectorImpl for use on non-ChromeOS platform; - Implement ChromeOS upgrade detection via UpdateLibrary observer and apply a slightly different advisory timing for showing the badges (show green arrow immediately on upgrade detected, then 2, 4, 7 days for yellow, red and orange color); BUG=chromium-os:16146 TEST=Verify fix for chromium-os:16146. Review URL: http://codereview.chromium.org/7046096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r--chrome/chrome_browser.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index e1fde1a..15793e6 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -721,6 +721,8 @@
'browser/chromeos/tab_closeable_state_watcher.h',
'browser/chromeos/update_observer.cc',
'browser/chromeos/update_observer.h',
+ 'browser/chromeos/upgrade_detector_chromeos.cc',
+ 'browser/chromeos/upgrade_detector_chromeos.h',
'browser/chromeos/user_cros_settings_provider.cc',
'browser/chromeos/user_cros_settings_provider.h',
'browser/chromeos/version_loader.cc',
@@ -3511,6 +3513,8 @@
'browser/ui/window_snapshot/window_snapshot_x.cc',
'browser/upgrade_detector.cc',
'browser/upgrade_detector.h',
+ 'browser/upgrade_detector_impl.cc',
+ 'browser/upgrade_detector_impl.h',
'browser/user_style_sheet_watcher.cc',
'browser/user_style_sheet_watcher.h',
'browser/visitedlink/visitedlink_event_listener.cc',
@@ -3627,6 +3631,8 @@
'browser/password_manager/native_backend_kwallet_x.cc',
'browser/password_manager/native_backend_kwallet_x.h',
'browser/platform_util_linux.cc',
+ 'browser/upgrade_detector_impl.cc',
+ 'browser/upgrade_detector_impl.h',
],
}],
['use_cups==1', {