Searched refs:GCMProfileService (Results 1 – 10 of 10) sorted by relevance
35 class GCMProfileService::IOWorker37 public base::RefCountedThreadSafe<GCMProfileService::IOWorker>{39 explicit IOWorker(const base::WeakPtr<GCMProfileService>& service);79 const base::WeakPtr<GCMProfileService> service_;86 GCMProfileService::IOWorker::IOWorker( in IOWorker()87 const base::WeakPtr<GCMProfileService>& service) in IOWorker()91 GCMProfileService::IOWorker::~IOWorker() { in ~IOWorker()94 void GCMProfileService::IOWorker::OnCheckInFinished( in OnCheckInFinished()104 base::Bind(&GCMProfileService::CheckInFinished, in OnCheckInFinished()110 void GCMProfileService::IOWorker::OnRegisterFinished( in OnRegisterFinished()[all …]
15 GCMProfileService* GCMProfileServiceFactory::GetForProfile(Profile* profile) { in GetForProfile()16 if (!gcm::GCMProfileService::IsGCMEnabled()) in GetForProfile()19 return static_cast<GCMProfileService*>( in GetForProfile()39 return gcm::GCMProfileService::IsGCMEnabled() ? in BuildServiceInstanceFor()40 new GCMProfileService(static_cast<Profile*>(profile)) : NULL; in BuildServiceInstanceFor()
41 class GCMProfileService : public BrowserContextKeyedService,64 explicit GCMProfileService(Profile* profile);66 GCMProfileService(Profile* profile, TestingDelegate* testing_delegate);67 virtual ~GCMProfileService();192 base::WeakPtrFactory<GCMProfileService> weak_ptr_factory_;194 DISALLOW_COPY_AND_ASSIGN(GCMProfileService);
16 class GCMProfileService; variable23 static GCMProfileService* GetForProfile(Profile* profile);
25 GCMProfileService::enable_gcm_for_testing_ = true; in EnableGCMForTesting()29 : GCMProfileService(profile), in FakeGCMProfileService()
84 public GCMProfileService::TestingDelegate {88 return new GCMProfileService( in BuildGCMProfileService()142 GCMProfileService::enable_gcm_for_testing_ = true; in SetUp()219 GCMProfileService* GetGCMProfileService() const { in GetGCMProfileService()239 static GCMProfileService::TestingDelegate* gps_testing_delegate_;244 GCMProfileService::TestingDelegate*350 GCMProfileService::GetPersistentRegisterKeyForTesting(), in HasPersistedRegistrationInfo()
17 class FakeGCMProfileService : public GCMProfileService {
14 class GCMProfileService; variable37 gcm::GCMProfileService* GCMProfileService() const;
88 return gcm::GCMProfileService::IsGCMEnabled() && in IsGcmApiEnabled()92 gcm::GCMProfileService* GcmApiFunction::GCMProfileService() const { in GCMProfileService() function in extensions::GcmApiFunction110 GCMProfileService()->Register( in DoWork()145 GCMProfileService()->Send( in DoWork()
365 gcm::GCMProfileService::RegisterProfilePrefs(registry); in RegisterProfilePrefs()