Home
last modified time | relevance | path

Searched refs:GCMProfileService (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/services/gcm/
Dgcm_profile_service.cc35 class GCMProfileService::IOWorker
37 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 …]
Dgcm_profile_service_factory.cc15 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()
Dgcm_profile_service.h41 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);
Dgcm_profile_service_factory.h16 class GCMProfileService; variable
23 static GCMProfileService* GetForProfile(Profile* profile);
Dfake_gcm_profile_service.cc25 GCMProfileService::enable_gcm_for_testing_ = true; in EnableGCMForTesting()
29 : GCMProfileService(profile), in FakeGCMProfileService()
Dgcm_profile_service_unittest.cc84 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()
Dfake_gcm_profile_service.h17 class FakeGCMProfileService : public GCMProfileService {
/external/chromium_org/chrome/browser/extensions/api/gcm/
Dgcm_api.h14 class GCMProfileService; variable
37 gcm::GCMProfileService* GCMProfileService() const;
Dgcm_api.cc88 return gcm::GCMProfileService::IsGCMEnabled() && in IsGcmApiEnabled()
92 gcm::GCMProfileService* GcmApiFunction::GCMProfileService() const { in GCMProfileService() function in extensions::GcmApiFunction
110 GCMProfileService()->Register( in DoWork()
145 GCMProfileService()->Send( in DoWork()
/external/chromium_org/chrome/browser/prefs/
Dbrowser_prefs.cc365 gcm::GCMProfileService::RegisterProfilePrefs(registry); in RegisterProfilePrefs()