Lines Matching refs:gcm

17 #include "chrome/browser/services/gcm/gcm_profile_service.h"
18 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
31 const std::vector<gcm::CheckinActivity>& checkins,
33 std::vector<gcm::CheckinActivity>::const_iterator it = checkins.begin();
45 const std::vector<gcm::ConnectionActivity>& connections,
47 std::vector<gcm::ConnectionActivity>::const_iterator it = connections.begin();
59 const std::vector<gcm::RegistrationActivity>& registrations,
61 std::vector<gcm::RegistrationActivity>::const_iterator it =
76 const std::vector<gcm::ReceivingActivity>& receives,
78 std::vector<gcm::ReceivingActivity>::const_iterator it = receives.begin();
93 const std::vector<gcm::SendingActivity>& sends,
95 std::vector<gcm::SendingActivity>::const_iterator it = sends.begin();
109 // Class acting as a controller of the chrome://gcm-internals WebUI.
119 // Return all of the GCM related infos to the gcm-internals page by calling
121 // |gcm-internals.returnInfo()|.
122 void ReturnResults(Profile* profile, gcm::GCMProfileService* profile_service,
123 const gcm::GCMClient::GCMStatistics* stats) const;
125 // Request all of the GCM related infos through gcm profile service.
128 // Enables/disables GCM activity recording through gcm profile service.
131 // Callback function of the request for all gcm related infos.
133 const gcm::GCMClient::GCMStatistics& args) const;
148 gcm::GCMProfileService* profile_service,
149 const gcm::GCMClient::GCMStatistics* stats) const {
156 gcm::GCMProfileService::IsGCMEnabled(profile));
225 gcm::GCMProfileService* profile_service =
226 gcm::GCMProfileServiceFactory::GetForProfile(profile);
250 gcm::GCMProfileService* profile_service =
251 gcm::GCMProfileServiceFactory::GetForProfile(profile);
270 const gcm::GCMClient::GCMStatistics& stats) const {
273 gcm::GCMProfileService* profile_service =
274 gcm::GCMProfileServiceFactory::GetForProfile(profile);
294 // Set up the chrome://gcm-internals source.