OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GCMProfileService
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/chrome/browser/services/gcm/
gcm_profile_service_factory.cc
15
GCMProfileService
* GCMProfileServiceFactory::GetForProfile(Profile* profile) {
16
if (!gcm::
GCMProfileService
::IsGCMEnabled())
19
return static_cast<
GCMProfileService
*>(
30
"
GCMProfileService
",
39
return gcm::
GCMProfileService
::IsGCMEnabled() ?
40
new
GCMProfileService
(static_cast<Profile*>(profile)) : NULL;
gcm_profile_service_factory.h
16
class
GCMProfileService
;
18
// Singleton that owns all
GCMProfileService
and associates them with
20
// the associated
GCMProfileService
.
23
static
GCMProfileService
* GetForProfile(Profile* profile);
gcm_profile_service.cc
35
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(
87
const base::WeakPtr<
GCMProfileService
>& service)
91
GCMProfileService
::IOWorker::~IOWorker() {
94
void
GCMProfileService
::IOWorker::OnCheckInFinished(
104
base::Bind(&
GCMProfileService
::CheckInFinished,
110
void
GCMProfileService
::IOWorker::OnRegisterFinished
[
all
...]
gcm_profile_service.h
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
);
fake_gcm_profile_service.cc
25
GCMProfileService
::enable_gcm_for_testing_ = true;
29
:
GCMProfileService
(profile),
fake_gcm_profile_service.h
17
class FakeGCMProfileService : public
GCMProfileService
{
28
//
GCMProfileService
overrides.
gcm_profile_service_unittest.cc
84
public
GCMProfileService
::TestingDelegate {
88
return new
GCMProfileService
(
138
// BuildGCMProfileService and pass it to
GCMProfileService
.
141
// This will create
GCMProfileService
that causes check-in to be initiated.
142
GCMProfileService
::enable_gcm_for_testing_ = true;
162
// Overridden from
GCMProfileService
::TestingDelegate:
219
GCMProfileService
* GetGCMProfileService() const {
239
static
GCMProfileService
::TestingDelegate* gps_testing_delegate_;
244
GCMProfileService
::TestingDelegate*
297
// Recreate
GCMProfileService
to test reading the check-in info from th
[
all
...]
/external/chromium_org/chrome/browser/extensions/api/gcm/
gcm_api.h
14
class
GCMProfileService
;
37
gcm::
GCMProfileService
*
GCMProfileService
() const;
gcm_api.cc
88
return gcm::
GCMProfileService
::IsGCMEnabled() &&
92
gcm::
GCMProfileService
* GcmApiFunction::
GCMProfileService
() const {
110
GCMProfileService
()->Register(
145
GCMProfileService
()->Send(
/external/chromium_org/chrome/browser/prefs/
browser_prefs.cc
365
gcm::
GCMProfileService
::RegisterProfilePrefs(registry);
Completed in 49 milliseconds