|
|
CLOSING the issue. We decided to stick with multiple senders. This CL might come in handy once and if GCM moves toward a registration ID per sender. Given that that decision has not been made, we are not taking this change.
[GCM] API update to allow only a single sender in registration
In anticipation of the coming changes and in the interest of not deprecating the API shortly after it is removed we reduce the number of senders the applicaiton is allowed to register for to 1.
The registrationID is going to be valid for a single sender only.
Relevant updates are propagated everywhere through the code and the tests are updated in the change as well.
In anticipation of allowing multiple senders that do not share registration id, reading and writing the registration ids and senders is updated as well.
BUG= 316683
Total comments: 24
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+145 lines, -317 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/gcm/gcm_api.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/gcm/gcm_apitest.cc
|
View
|
1
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/fake_gcm_profile_service.h
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_client_mock.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_client_mock.cc
|
View
|
1
|
2 chunks |
+9 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_profile_service.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_profile_service.cc
|
View
|
1
|
11 chunks |
+25 lines, -40 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_profile_service_unittest.cc
|
View
|
1
|
18 chunks |
+43 lines, -92 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/gcm.json
|
View
|
1
|
1 chunk |
+7 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/gcm/functions/incognito/test.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/gcm/functions/register/register.js
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/gcm/functions/register_validation/register_validation.js
|
View
|
|
2 chunks |
+10 lines, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/gcm/functions/register_without_key/register.js
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/registration_request.h
|
View
|
1
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/registration_request.cc
|
View
|
1
|
4 chunks |
+4 lines, -19 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/engine/registration_request_unittest.cc
|
View
|
1
|
13 chunks |
+14 lines, -44 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/gcm_client.h
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/gcm_client_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gcm/gcm_client_impl.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
google_apis/gcm/gcm_client_impl_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|