 Chromium Code Reviews
 Chromium Code Reviews Issue 
            2129313002:
    Geolocation cleanup: corrects uses of content::AccessTokenStore* and net::URLRequestContextGetter*  (Closed)
    
  
    Issue 
            2129313002:
    Geolocation cleanup: corrects uses of content::AccessTokenStore* and net::URLRequestContextGetter*  (Closed) 
  | DescriptionGeolocation 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}
   Patch Set 1 : #
      Total comments: 7
      
     Patch Set 2 : wez@ comments. Rebase #
      Total comments: 16
      
     Patch Set 3 : wez@ second round of comments, with a minor rebase #
      Total comments: 8
      
     Patch Set 4 : wez@s comments; removed unused struct in access_token_store_browsertest.cc #
      Total comments: 2
      
     Patch Set 5 : Removed StartTestStepFromClientThread() #Messages
    Total messages: 52 (26 generated)
     |