summaryrefslogtreecommitdiffstats
path: root/components/components.gyp
diff options
context:
space:
mode:
authorchirantan <chirantan@chromium.org>2014-10-24 12:44:42 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-24 19:45:08 +0000
commit26436e402e6e1b780f6565539ae0acb3e2976fb9 (patch)
tree74bcbbae19ab7c21897ebee81621c063661408c8 /components/components.gyp
parent4a526b4276b4165a68be177a84686f6c51c30959 (diff)
downloadchromium_src-26436e402e6e1b780f6565539ae0acb3e2976fb9.zip
chromium_src-26436e402e6e1b780f6565539ae0acb3e2976fb9.tar.gz
chromium_src-26436e402e6e1b780f6565539ae0acb3e2976fb9.tar.bz2
components: Introduce AlarmTimer class and use it for GCM heartbeat
This adds the AlarmTimer class to components, which is capable of waking up the system from suspend on platforms that support this operation (currently only Chrome OS with linux version 3.11 or higher). On all other platforms, the AlarmTimer behaves exactly the same as a regular Timer. BUG=crosbug.com/p/32272 Review URL: https://codereview.chromium.org/641943002 Cr-Commit-Position: refs/heads/master@{#301175}
Diffstat (limited to 'components/components.gyp')
-rw-r--r--components/components.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/components.gyp b/components/components.gyp
index 8cfdbe2..048a126 100644
--- a/components/components.gyp
+++ b/components/components.gyp
@@ -91,6 +91,7 @@
['chromeos == 1', {
'includes': [
'pairing.gypi',
+ 'timers.gypi',
],
}],
['OS == "win" or OS == "mac"', {