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

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

Issue 8997008: Move AccessTokenStore to Content API, now that it is a pure-virtual class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head (pure merge). Created 9 years 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/access_token_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/access_token_store.h
diff --git a/content/browser/geolocation/access_token_store.h b/content/public/browser/access_token_store.h
similarity index 91%
rename from content/browser/geolocation/access_token_store.h
rename to content/public/browser/access_token_store.h
index 5fc2c57af18f9e35f483beb3201969ec451d16d4..1dfaabfe9a7f81b347bfa1ec7a65ecd5b0c3ca27 100644
--- a/content/browser/geolocation/access_token_store.h
+++ b/content/public/browser/access_token_store.h
@@ -10,8 +10,8 @@
// This API is provided as abstract base classes to allow mocking and testing
// of clients, without dependency on browser process singleton objects etc.
-#ifndef CONTENT_BROWSER_GEOLOCATION_ACCESS_TOKEN_STORE_H_
-#define CONTENT_BROWSER_GEOLOCATION_ACCESS_TOKEN_STORE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
+#define CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
#pragma once
#include <map>
@@ -28,6 +28,8 @@ namespace net {
class URLRequestContextGetter;
}
+namespace content {
+
// Provides storage for the access token used in the network request.
class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore> {
public:
@@ -57,4 +59,6 @@ class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore> {
DISALLOW_COPY_AND_ASSIGN(AccessTokenStore);
};
-#endif // CONTENT_BROWSER_GEOLOCATION_ACCESS_TOKEN_STORE_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698