|
Adding support for authenticated copresence calls. I've added a temporary call to the API to pass in an OAuth token to use with requests. Eventually we need to scope the token better - at least by app.
For privacy, we now register one device ID per account (auth token), including the null (anonymous) account.
Other changes:
- API keys are now scoped by app
- copresence_manager.cc deleted
- Minor performance/stability fixes
- Cleanup in rpc_handler_unittest.cc
BUG= 423517
Committed: https://crrev.com/153e9af7a65fddeb5807427f681df8916fbfdffb
Cr-Commit-Position: refs/heads/master@{#302002}
Total comments: 6
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+407 lines, -218 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/copresence/copresence_api.h
|
View
|
1
2
3
4
5
|
4 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/copresence/copresence_api.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+41 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/copresence/copresence_api_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/copresence.idl
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/copresence.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/copresence/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
components/copresence/copresence_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
 |
M |
components/copresence/copresence_manager_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/copresence/copresence_manager_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+74 lines, -18 lines |
0 comments
|
Download
|
 |
M |
components/copresence/public/copresence_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/copresence/public/copresence_manager.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/copresence/rpc/http_post.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/copresence/rpc/http_post.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/copresence/rpc/http_post_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
6 chunks |
+26 lines, -16 lines |
0 comments
|
Download
|
 |
M |
components/copresence/rpc/rpc_handler.h
|
View
|
1
2
3
4
5
|
6 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/copresence/rpc/rpc_handler.cc
|
View
|
1
2
3
4
5
|
12 chunks |
+91 lines, -32 lines |
0 comments
|
Download
|
 |
M |
components/copresence/rpc/rpc_handler_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+80 lines, -69 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_function_histogram_value.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 28 (8 generated)
|