#ifndef CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
#define CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
#include "content/public/browser/access_token_store.h"
namespace content {
class ShellBrowserContext;
class ShellAccessTokenStore : public content::AccessTokenStore {
public:
explicit ShellAccessTokenStore(
content::ShellBrowserContext* shell_browser_context);
private:
virtual ~ShellAccessTokenStore();
void GetRequestContextOnUIThread(
content::ShellBrowserContext* shell_browser_context);
void RespondOnOriginatingThread(const LoadAccessTokensCallbackType& callback);
virtual void LoadAccessTokens(
const LoadAccessTokensCallbackType& callback) OVERRIDE;
virtual void SaveAccessToken(
const GURL& server_url, const base::string16& access_token) OVERRIDE;
content::ShellBrowserContext* shell_browser_context_;
net::URLRequestContextGetter* system_request_context_;
DISALLOW_COPY_AND_ASSIGN(ShellAccessTokenStore);
};
}
#endif