| 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 #ifndef COMPONENTS_GCM_DRIVER_GCM_ACCOUNT_TRACKER_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_ACCOUNT_TRACKER_H_ |
| 6 #define COMPONENTS_GCM_DRIVER_GCM_ACCOUNT_TRACKER_H_ | 6 #define COMPONENTS_GCM_DRIVER_GCM_ACCOUNT_TRACKER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 | 12 |
| 13 #include "base/macros.h" |
| 11 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
| 12 #include "components/gcm_driver/gcm_client.h" | 15 #include "components/gcm_driver/gcm_client.h" |
| 13 #include "components/gcm_driver/gcm_connection_observer.h" | 16 #include "components/gcm_driver/gcm_connection_observer.h" |
| 14 #include "google_apis/gaia/account_tracker.h" | 17 #include "google_apis/gaia/account_tracker.h" |
| 15 #include "google_apis/gaia/oauth2_token_service.h" | 18 #include "google_apis/gaia/oauth2_token_service.h" |
| 16 | 19 |
| 17 namespace base { | 20 namespace base { |
| 18 class Time; | 21 class Time; |
| 19 } | 22 } |
| 20 | 23 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // Creates weak pointers used to postpone reporting tokens. See | 159 // Creates weak pointers used to postpone reporting tokens. See |
| 157 // ScheduleReportTokens. | 160 // ScheduleReportTokens. |
| 158 base::WeakPtrFactory<GCMAccountTracker> reporting_weak_ptr_factory_; | 161 base::WeakPtrFactory<GCMAccountTracker> reporting_weak_ptr_factory_; |
| 159 | 162 |
| 160 DISALLOW_COPY_AND_ASSIGN(GCMAccountTracker); | 163 DISALLOW_COPY_AND_ASSIGN(GCMAccountTracker); |
| 161 }; | 164 }; |
| 162 | 165 |
| 163 } // namespace gcm | 166 } // namespace gcm |
| 164 | 167 |
| 165 #endif // COMPONENTS_GCM_DRIVER_GCM_ACCOUNT_TRACKER_H_ | 168 #endif // COMPONENTS_GCM_DRIVER_GCM_ACCOUNT_TRACKER_H_ |
| OLD | NEW |