|
|
Geolocation cleanup: corrects uses of content::AccessTokenStore* and net::URLRequestContextGetter*
This CL corrects uses of content::AccessTokenStore* to scoped_refptr<>
versions, since that class is ref-counted.
Same applies toc* .
Also this CL does some cleanups in the touched files:
- s/NULL/nullptr/
- makes const and/or preferred initialize over assignment for
some member variables, where applicable/available,
- method ::GetAccessTokenStore() is made private.
- NewSystemLocationProvider(); is changed to return std::unique_ptr<>
TEST=all relevant unittests and browser_tests working, in
particular
./out/gn/browser_tests --gtest_filter="Geolocation*"
./out/gn/content_unittests --gtest_filter=Geolocation*
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
BUG= 623114
Committed: https://crrev.com/1161c5753adf296ea253d56f1617d3d926152b55
Cr-Commit-Position: refs/heads/master@{#406410}
Total comments: 7
Total comments: 16
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+125 lines, -143 lines) |
Patch |
 |
M |
android_webview/browser/aw_content_browser_client.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/access_token_store_browsertest.cc
|
View
|
1
2
3
4
|
7 chunks |
+15 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_content_browser_client.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/fake_access_token_store.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/location_arbitrator_impl.h
|
View
|
1
|
5 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/location_arbitrator_impl.cc
|
View
|
1
2
3
|
6 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/location_arbitrator_impl_unittest.cc
|
View
|
1
2
|
5 chunks |
+14 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/location_provider_android.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/network_location_provider.h
|
View
|
1
|
5 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/network_location_provider.cc
|
View
|
1
2
3
|
8 chunks |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/network_location_provider_unittest.cc
|
View
|
1
2
|
13 chunks |
+23 lines, -26 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/network_location_request.h
|
View
|
1
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/network_location_request.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/access_token_store.h
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/geolocation_delegate.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/geolocation_delegate.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_content_browser_client.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 52 (26 generated)
|