Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2111)

Unified Diff: content/public/browser/access_token_store.h

Issue 2129313002: Geolocation cleanup: corrects uses of content::AccessTokenStore* and net::URLRequestContextGetter* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed StartTestStepFromClientThread() Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/access_token_store.h
diff --git a/content/public/browser/access_token_store.h b/content/public/browser/access_token_store.h
index bf1483a801aa08142fe3fdd3bba35220271d52d7..a8edecb39c08a3a4b7fe4ee9c0551b3c9de05256 100644
--- a/content/public/browser/access_token_store.h
+++ b/content/public/browser/access_token_store.h
@@ -19,14 +19,11 @@
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
+#include "net/url_request/url_request_context_getter.h"
#include "url/gurl.h"
class GURL;
-namespace net {
-class URLRequestContextGetter;
-}
-
namespace content {
// Provides storage for the access token used in the network request.
@@ -34,7 +31,8 @@ class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore> {
public:
// Map of server URLs to associated access token.
typedef std::map<GURL, base::string16> AccessTokenMap;
- typedef base::Callback<void(AccessTokenMap, net::URLRequestContextGetter*)>
+ typedef base::Callback<
+ void(AccessTokenMap, const scoped_refptr<net::URLRequestContextGetter>&)>
LoadAccessTokensCallback;
// |callback| will be invoked once per LoadAccessTokens call, after existing
« no previous file with comments | « content/browser/geolocation/network_location_request.cc ('k') | content/public/browser/geolocation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698