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