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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/geolocation_delegate.h » ('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/device/geolocation/access_token_store.h b/content/public/browser/access_token_store.h
similarity index 84%
rename from device/geolocation/access_token_store.h
rename to content/public/browser/access_token_store.h
index e3938fd886fec5cd04508a3f178d5d48452b2ece..a8edecb39c08a3a4b7fe4ee9c0551b3c9de05256 100644
--- a/device/geolocation/access_token_store.h
+++ b/content/public/browser/access_token_store.h
@@ -10,21 +10,21 @@
// This API is provided as abstract base classes to allow mocking and testing
// of clients, without dependency on browser process singleton objects etc.
-#ifndef DEVICE_GEOLOCATION_ACCESS_TOKEN_STORE_H_
-#define DEVICE_GEOLOCATION_ACCESS_TOKEN_STORE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
+#define CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
#include <map>
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
-#include "device/geolocation/geolocation_export.h"
+#include "content/common/content_export.h"
#include "net/url_request/url_request_context_getter.h"
#include "url/gurl.h"
class GURL;
-namespace device {
+namespace content {
// Provides storage for the access token used in the network request.
class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore> {
@@ -47,10 +47,10 @@ class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore> {
protected:
friend class base::RefCountedThreadSafe<AccessTokenStore>;
- DEVICE_GEOLOCATION_EXPORT AccessTokenStore() {}
- DEVICE_GEOLOCATION_EXPORT virtual ~AccessTokenStore() {}
+ CONTENT_EXPORT AccessTokenStore() {}
+ CONTENT_EXPORT virtual ~AccessTokenStore() {}
};
-} // namespace device
+} // namespace content
-#endif // DEVICE_GEOLOCATION_ACCESS_TOKEN_STORE_H_
+#endif // CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/geolocation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698