diff options
author | jianli <jianli@chromium.org> | 2016-02-26 17:57:41 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-27 01:58:51 +0000 |
commit | 03b1a6f719fc5016260be23a6d8593d89e06da68 (patch) | |
tree | 60582d8deaa47beba0f3de232c0141a4c2a2bfd7 /chrome/chrome_tests_unit.gypi | |
parent | 80c45ce2b0d2566a6e23e8d4001db12bc27f3d39 (diff) | |
download | chromium_src-03b1a6f719fc5016260be23a6d8593d89e06da68.zip chromium_src-03b1a6f719fc5016260be23a6d8593d89e06da68.tar.gz chromium_src-03b1a6f719fc5016260be23a6d8593d89e06da68.tar.bz2 |
Switch between online and offline version of saved page per network connection:
If the user is navigating to an online version of saved page and there is no network connection, we should load the offline copy instead.
If the user is loading an offline copy and there is network connection, we should load the online version instead.
BUG=584417
Review URL: https://codereview.chromium.org/1721103002
Cr-Commit-Position: refs/heads/master@{#378073}
Diffstat (limited to 'chrome/chrome_tests_unit.gypi')
-rw-r--r-- | chrome/chrome_tests_unit.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi index 14ad8a7..4d98dc9 100644 --- a/chrome/chrome_tests_unit.gypi +++ b/chrome/chrome_tests_unit.gypi @@ -1643,6 +1643,7 @@ # Sources for Offline pages. For now only for Android. 'chrome_unit_tests_offline_pages_sources': [ 'browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc', + 'browser/android/offline_pages/offline_page_tab_helper_unittest.cc', 'browser/android/offline_pages/offline_page_utils_unittest.cc', 'browser/android/offline_pages/test_offline_page_model_builder.cc', 'browser/android/offline_pages/test_offline_page_model_builder.h', |