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" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "components/gcm/gcm_client_factory.h" |
13 #include "components/gcm/gcm_driver.h" | 14 #include "components/gcm/gcm_driver.h" |
14 #include "components/keyed_service/core/keyed_service.h" | 15 #include "components/keyed_service/core/keyed_service.h" |
15 | 16 |
16 class Profile; | 17 class Profile; |
17 | 18 |
18 namespace user_prefs { | 19 namespace user_prefs { |
19 class PrefRegistrySyncable; | 20 class PrefRegistrySyncable; |
20 } | 21 } |
21 | 22 |
22 namespace gcm { | 23 namespace gcm { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 Profile* profile_; | 68 Profile* profile_; |
68 | 69 |
69 scoped_ptr<GCMDriver> driver_; | 70 scoped_ptr<GCMDriver> driver_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); | 72 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace gcm | 75 } // namespace gcm |
75 | 76 |
76 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ | 77 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PROFILE_SERVICE_H_ |
OLD | NEW |