OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PROFILE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ |
6 #define CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ | 6 #define CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 scoped_ptr<GCMDriver> driver_; | 79 scoped_ptr<GCMDriver> driver_; |
80 | 80 |
81 // Implementation of content::PushMessagingService using GCMProfileService. | 81 // Implementation of content::PushMessagingService using GCMProfileService. |
82 PushMessagingServiceImpl push_messaging_service_; | 82 PushMessagingServiceImpl push_messaging_service_; |
83 | 83 |
84 // TODO(jianli): To be removed when sign-in enforcement is dropped. | 84 // TODO(jianli): To be removed when sign-in enforcement is dropped. |
85 #if !defined(OS_ANDROID) | 85 #if !defined(OS_ANDROID) |
86 class IdentityObserver; | 86 class IdentityObserver; |
87 scoped_ptr<IdentityObserver> identity_observer_; | 87 scoped_ptr<IdentityObserver> identity_observer_; |
88 #endif | 88 #endif |
89 #if defined(OS_CHROMEOS) | |
90 scoped_ptr<GCMConnectionObserver> chromeos_connection_observer_; | |
91 #endif | |
92 | 89 |
93 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); | 90 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); |
94 }; | 91 }; |
95 | 92 |
96 } // namespace gcm | 93 } // namespace gcm |
97 | 94 |
98 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ | 95 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ |
OLD | NEW |