OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ |
6 #define COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 6 #define COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "components/gcm_driver/gcm_client.h" |
17 #include "components/gcm_driver/gcm_driver.h" | 18 #include "components/gcm_driver/gcm_driver.h" |
18 #include "google_apis/gaia/identity_provider.h" | 19 #include "google_apis/gaia/identity_provider.h" |
19 #include "google_apis/gcm/gcm_client.h" | |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class FilePath; | 22 class FilePath; |
23 class SequencedTaskRunner; | 23 class SequencedTaskRunner; |
24 } | 24 } |
25 | 25 |
26 namespace extensions { | 26 namespace extensions { |
27 class ExtensionGCMAppHandlerTest; | 27 class ExtensionGCMAppHandlerTest; |
28 } | 28 } |
29 | 29 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 // Used to pass a weak pointer to the IO worker. | 139 // Used to pass a weak pointer to the IO worker. |
140 base::WeakPtrFactory<GCMDriverDesktop> weak_ptr_factory_; | 140 base::WeakPtrFactory<GCMDriverDesktop> weak_ptr_factory_; |
141 | 141 |
142 DISALLOW_COPY_AND_ASSIGN(GCMDriverDesktop); | 142 DISALLOW_COPY_AND_ASSIGN(GCMDriverDesktop); |
143 }; | 143 }; |
144 | 144 |
145 } // namespace gcm | 145 } // namespace gcm |
146 | 146 |
147 #endif // COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 147 #endif // COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ |
OLD | NEW |