|
[GCM] Add connection factory for creating MCS connections
The connection factory abstracts all net interactions and enforces backoff
policy. Once it creates a connection handler, Connect calls can be made
whenever a reconnection is necessary/ready.
The connection handler is also abstracted into an interface/impl for easier
use in testing (fake connection factory/handlers will be introduced when
testing the main logic of the client).
BUG= 284553
R=akalin@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239275
Total comments: 14
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+837 lines, -1239 lines) |
Patch |
 |
A |
google_apis/gcm/engine/connection_factory.h
|
View
|
1
2
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
google_apis/gcm/engine/connection_factory.cc
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
google_apis/gcm/engine/connection_factory_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
A |
google_apis/gcm/engine/connection_factory_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+200 lines, -0 lines |
0 comments
|
Download
|
 |
A |
google_apis/gcm/engine/connection_factory_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+295 lines, -0 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/connection_handler.h
|
View
|
1
|
2 chunks |
+18 lines, -100 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/connection_handler.cc
|
View
|
|
1 chunk |
+1 line, -387 lines |
0 comments
|
Download
|
 |
A + |
google_apis/gcm/engine/connection_handler_impl.h
|
View
|
1
2
|
4 chunks |
+25 lines, -48 lines |
0 comments
|
Download
|
 |
A + |
google_apis/gcm/engine/connection_handler_impl.cc
|
View
|
1
2
|
15 chunks |
+38 lines, -35 lines |
0 comments
|
Download
|
 |
A + |
google_apis/gcm/engine/connection_handler_impl_unittest.cc
|
View
|
1
2
|
19 chunks |
+43 lines, -41 lines |
0 comments
|
Download
|
 |
D |
google_apis/gcm/engine/connection_handler_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -626 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/gcm.gyp
|
View
|
1
2
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_manager.h
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|