diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-09 21:53:58 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-09 21:53:58 +0000 |
commit | d00c07e4886a6dbc2bf427a871257900c566e3fb (patch) | |
tree | 657c8dfbcd62d964c7931f69c212122cf10d23e6 /chrome/chrome_browser.gypi | |
parent | acb217edc035228253515cbc49f3f7134739e4aa (diff) | |
download | chromium_src-d00c07e4886a6dbc2bf427a871257900c566e3fb.zip chromium_src-d00c07e4886a6dbc2bf427a871257900c566e3fb.tar.gz chromium_src-d00c07e4886a6dbc2bf427a871257900c566e3fb.tar.bz2 |
Create a new VariationsRequestScheduler for mobile which pings on a different schedule.
This new scheduler pings on every startup IFF the last ping was done over 5h ago.
Includes some updates to fix some unit tests.
BUG=224018
TEST=No use visible change. This is not activated on any platforms yet.
Review URL: https://chromiumcodereview.appspot.com/13191003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r-- | chrome/chrome_browser.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index adf1f0e..e4b9239 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -991,6 +991,8 @@ 'browser/metrics/variations/variations_registry_syncer_win.h', 'browser/metrics/variations/variations_request_scheduler.cc', 'browser/metrics/variations/variations_request_scheduler.h', + 'browser/metrics/variations/variations_request_scheduler_mobile.cc', + 'browser/metrics/variations/variations_request_scheduler_mobile.h', 'browser/metrics/variations/variations_service.cc', 'browser/metrics/variations/variations_service.h', 'browser/native_window_notification_source.h', @@ -2615,6 +2617,12 @@ 'browser/sessions/session_service_factory.h', ], }], + ['OS!="android" and OS!="ios"', { + 'sources!': [ + 'browser/metrics/variations/variations_request_scheduler_mobile.cc', + 'browser/metrics/variations/variations_request_scheduler_mobile.h', + ], + }], ['OS=="android"', { 'dependencies': [ '../components/components.gyp:web_contents_delegate_android', |