| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/services/gcm/gcm_account_tracker.h" | 5 #include "components/gcm_driver/gcm_account_tracker.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "components/gcm_driver/gcm_driver.h" | 15 #include "components/gcm_driver/gcm_driver.h" |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 iter->second.state = ACCOUNT_REMOVED; | 367 iter->second.state = ACCOUNT_REMOVED; |
| 368 ReportTokens(); | 368 ReportTokens(); |
| 369 } | 369 } |
| 370 | 370 |
| 371 OAuth2TokenService* GCMAccountTracker::GetTokenService() { | 371 OAuth2TokenService* GCMAccountTracker::GetTokenService() { |
| 372 DCHECK(account_tracker_->identity_provider()); | 372 DCHECK(account_tracker_->identity_provider()); |
| 373 return account_tracker_->identity_provider()->GetTokenService(); | 373 return account_tracker_->identity_provider()->GetTokenService(); |
| 374 } | 374 } |
| 375 | 375 |
| 376 } // namespace gcm | 376 } // namespace gcm |
| OLD | NEW |