|
Hook up the Push API with GCM's new ability to own encryption keys.
This CL finishes implementing propagation of the "curve25519dh" attribute
of the PushSubscription interface of the Push API. The public key will be
provided by the GCM Driver, which internally uses the (new) GCMKeyStore.
Encrypted messages cannot yet be received by GCM - that work remains. The
functionality introduced in this CL is also still guarded behind the
"--enable-push-message-payload" command line flag.
BUG= 486040
Committed: https://crrev.com/bfa736ea015575cff0b21d4249ceb9d45d4df254
Cr-Commit-Position: refs/heads/master@{#340697}
Total comments: 24
Total comments: 4
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+368 lines, -45 lines) |
Patch |
 |
M |
chrome/browser/push_messaging/push_messaging_browsertest.cc
|
View
|
1
2
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/push_messaging/push_messaging_service_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/push_messaging/push_messaging_service_impl.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+81 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_profile_service.cc
|
View
|
1
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/push_messaging/push_test.js
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A |
components/gcm_driver/crypto/gcm_encryption_provider.h
|
View
|
1
2
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/gcm_driver/crypto/gcm_encryption_provider.cc
|
View
|
1
2
3
4
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_key_store.h
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_key_store.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_key_store_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/fake_gcm_driver.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/fake_gcm_driver.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver.h
|
View
|
1
2
|
4 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver.cc
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_android.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_android.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_desktop.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/push_messaging_status.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 31 (12 generated)
|