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

Unified Diff: chrome/browser/net/gaia/token_service.cc

Issue 4121003: Implement device token fetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final feedback Created 10 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
« no previous file with comments | « chrome/browser/net/gaia/token_service.h ('k') | chrome/browser/policy/device_management_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/gaia/token_service.cc
diff --git a/chrome/browser/net/gaia/token_service.cc b/chrome/browser/net/gaia/token_service.cc
index b79af6454bd525b20185cf2d5b213b3f80f3a743..5e6cf46de924e8b7ceb2d53229f7113cc886a5f7 100644
--- a/chrome/browser/net/gaia/token_service.cc
+++ b/chrome/browser/net/gaia/token_service.cc
@@ -17,8 +17,12 @@
// Unfortunately kNumServices must be defined in the .h.
// TODO(chron): Sync doesn't use the TalkToken anymore so we can stop
// requesting it.
-const char* TokenService::kServices[] = {GaiaConstants::kSyncService,
- GaiaConstants::kTalkService};
+const char* TokenService::kServices[] = {
+ GaiaConstants::kSyncService,
+ GaiaConstants::kTalkService,
+ GaiaConstants::kDeviceManagementService
+};
+
TokenService::TokenService()
: token_loading_query_(0) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
« no previous file with comments | « chrome/browser/net/gaia/token_service.h ('k') | chrome/browser/policy/device_management_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698