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

Side by Side Diff: content/shell/geolocation/shell_access_token_store.h

Issue 10669009: Add ShellAccessTokenStore to content_shell (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove OVERRIDE from destructor. Created 8 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 unified diff | Download patch
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/geolocation/shell_access_token_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
6 #define CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
7 #pragma once
8
9 #include "content/public/browser/access_token_store.h"
10
11 // Dummy access token store used to initialise the network location provider.
12 class ShellAccessTokenStore : public content::AccessTokenStore {
13 public:
14 explicit ShellAccessTokenStore(net::URLRequestContextGetter* request_context);
15
16 private:
17 virtual ~ShellAccessTokenStore();
18
19 // AccessTokenStore
20 virtual void LoadAccessTokens(
21 const LoadAccessTokensCallbackType& callback) OVERRIDE;
22
23 virtual void SaveAccessToken(
24 const GURL& server_url, const string16& access_token) OVERRIDE;
25
26 static void DidLoadAccessTokens(
27 net::URLRequestContextGetter* request_context,
28 const LoadAccessTokensCallbackType& callback);
29
30 net::URLRequestContextGetter* request_context_;
31
32 DISALLOW_COPY_AND_ASSIGN(ShellAccessTokenStore);
33 };
34
35 #endif // CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/geolocation/shell_access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698