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

Unified Diff: content/shell/geolocation/shell_access_token_store.h

Issue 653573003: Move ShellAccessTokenStore away from //content/shell/geolocation/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync gyp and gn Created 6 years, 2 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/shell/geolocation/shell_access_token_store.h
diff --git a/content/shell/geolocation/shell_access_token_store.h b/content/shell/geolocation/shell_access_token_store.h
deleted file mode 100644
index df461465254d068a112292295a78576495100855..0000000000000000000000000000000000000000
--- a/content/shell/geolocation/shell_access_token_store.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
-#define CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
-
-#include "base/memory/ref_counted.h"
-#include "content/public/browser/access_token_store.h"
-#include "net/url_request/url_request_context_getter.h"
-
-namespace content {
-class ShellBrowserContext;
-
-// Dummy access token store used to initialise the network location provider.
-class ShellAccessTokenStore : public content::AccessTokenStore {
- public:
- explicit ShellAccessTokenStore(
- content::ShellBrowserContext* shell_browser_context);
-
- private:
- ~ShellAccessTokenStore() override;
-
- void GetRequestContextOnUIThread(
- content::ShellBrowserContext* shell_browser_context);
- void RespondOnOriginatingThread(const LoadAccessTokensCallbackType& callback);
-
- // AccessTokenStore
- void LoadAccessTokens(const LoadAccessTokensCallbackType& callback) override;
-
- void SaveAccessToken(const GURL& server_url,
- const base::string16& access_token) override;
-
- content::ShellBrowserContext* shell_browser_context_;
- scoped_refptr<net::URLRequestContextGetter> system_request_context_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellAccessTokenStore);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | content/shell/geolocation/shell_access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698