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

Unified Diff: chrome/browser/signin/token_service.h

Issue 15734014: Split token-related methods from WebDataService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DEPs again Created 7 years, 7 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 | « chrome/browser/signin/signin_manager_unittest.cc ('k') | chrome/browser/signin/token_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/token_service.h
diff --git a/chrome/browser/signin/token_service.h b/chrome/browser/signin/token_service.h
index b8667f8d79999f69c000f9b35a7916b7ed6fbf4a..5ab612cc44865a2c8463ab5a8614fba4b968dbcf 100644
--- a/chrome/browser/signin/token_service.h
+++ b/chrome/browser/signin/token_service.h
@@ -52,14 +52,16 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "chrome/browser/signin/signin_internals_util.h"
-#include "chrome/browser/webdata/web_data_service.h"
#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
+#include "components/webdata/common/web_data_service_base.h"
+#include "components/webdata/common/web_data_service_consumer.h"
#include "google_apis/gaia/gaia_auth_consumer.h"
#include "google_apis/gaia/gaia_auth_fetcher.h"
#include "google_apis/gaia/google_service_auth_error.h"
class Profile;
class TokenServiceTest;
+class TokenWebData;
namespace net {
class URLRequestContextGetter;
@@ -188,7 +190,7 @@ class TokenService : public GaiaAuthConsumer,
// WebDataServiceConsumer implementation.
virtual void OnWebDataServiceRequestDone(
- WebDataService::Handle h,
+ WebDataServiceBase::Handle h,
const WDTypedResult* result) OVERRIDE;
// Gets the list of all service names for which tokens will be retrieved.
@@ -227,11 +229,11 @@ class TokenService : public GaiaAuthConsumer,
Profile* profile_;
// Web data service to access tokens from.
- scoped_refptr<WebDataService> web_data_service_;
+ scoped_refptr<TokenWebData> token_web_data_;
// Getter to use for fetchers.
scoped_refptr<net::URLRequestContextGetter> getter_;
// Request handle to load Gaia tokens from DB.
- WebDataService::Handle token_loading_query_;
+ WebDataServiceBase::Handle token_loading_query_;
// True if token loading has completed (regardless of success).
bool tokens_loaded_;
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | chrome/browser/signin/token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698