|
|
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
Committed: https://crrev.com/26436e402e6e1b780f6565539ae0acb3e2976fb9
Cr-Commit-Position: refs/heads/master@{#301175}
Total comments: 24
Total comments: 6
Total comments: 28
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1108 lines, -34 lines) |
Patch |
 |
M |
base/timer/timer.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/OWNERS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/components.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/DEPS
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_client_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_client_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
A + |
components/timers.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
components/timers/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A |
components/timers/DEPS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/OWNERS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/README
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/alarm_timer.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/alarm_timer.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+127 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/alarm_timer_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+496 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/rtc_alarm.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/timers/rtc_alarm.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+182 lines, -0 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/heartbeat_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/heartbeat_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/heartbeat_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/mcs_client.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/mcs_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/mcs_client_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gcm/tools/mcs_probe.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 60 (11 generated)
|