Loosen up heuristics for detecting account creation forms.
[chromium-blink-merge.git] / content / shell / geolocation / shell_access_token_store.h
blob1384ac5b1ec4a7c5687e0c44756c35f62a6a985f
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
6 #define CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
8 #include "content/public/browser/access_token_store.h"
10 // Dummy access token store used to initialise the network location provider.
11 class ShellAccessTokenStore : public content::AccessTokenStore {
12 public:
13 explicit ShellAccessTokenStore(net::URLRequestContextGetter* request_context);
15 private:
16 virtual ~ShellAccessTokenStore();
18 // AccessTokenStore
19 virtual void LoadAccessTokens(
20 const LoadAccessTokensCallbackType& callback) OVERRIDE;
22 virtual void SaveAccessToken(
23 const GURL& server_url, const string16& access_token) OVERRIDE;
25 static void DidLoadAccessTokens(
26 net::URLRequestContextGetter* request_context,
27 const LoadAccessTokensCallbackType& callback);
29 net::URLRequestContextGetter* request_context_;
31 DISALLOW_COPY_AND_ASSIGN(ShellAccessTokenStore);
34 #endif // CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_