|
Add browser-global GCMDriver
This CL adds a browser-global GCMDriver instance. This GCM connection can
be used even if no session is in progress and no user is signed in.
Since GCMDriverDesktop was originally meant to work for signed-in users
only, it still depends on an IdentityProvider. The CL introduces a
temporary DummyIdentityProvider to satisfy the dependency. This dummy
class will be deleted when GCMDriver's dependency on IdentityProvider is
removed.
BUG= 376746
TEST=Covered by GCMDriverTest.* unit tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275134
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+327 lines, -128 lines) |
Patch |
 |
M |
chrome/browser/browser_process.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
1
2
3
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
|
7 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/gcm_desktop_utils.h
|
View
|
1
2
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/services/gcm/gcm_desktop_utils.cc
|
View
|
1
2
|
3 chunks |
+34 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_profile_service.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_utils.h
|
View
|
1
2
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/gcm_utils.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_paths.h
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_paths.cc
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_browser_process.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_browser_process.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
google_apis/BUILD.gn
|
View
|
1
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
google_apis/gaia/dummy_identity_provider.h
|
View
|
1
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
google_apis/gaia/dummy_identity_provider.cc
|
View
|
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
M |
google_apis/google_apis.gyp
|
View
|
1
|
2 chunks |
+25 lines, -17 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|