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

Side by Side Diff: components/gcm_driver/gcm_account_tracker.h

Issue 1293393003: Componentize gcm_account_tracker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/gcm_account_tracker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/gcm_account_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698