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 GCMAppHandler* chromeos_app_handler_; | |
fgorski
2014/08/26 22:26:08
use a scoped_ptr.
Luigi Semenzato
2014/09/05 18:02:33
Done.
| |
91 #endif | |
89 | 92 |
90 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); | 93 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); |
91 }; | 94 }; |
92 | 95 |
93 } // namespace gcm | 96 } // namespace gcm |
94 | 97 |
95 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ | 98 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ |
OLD | NEW |