| 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 CHROME_BROWSER_SERVICES_GCM_GCM_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SERVICES_GCM_GCM_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SERVICES_GCM_GCM_SERVICE_H_ | 6 #define CHROME_BROWSER_SERVICES_GCM_GCM_SERVICE_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/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "components/gcm_driver/default_gcm_app_handler.h" | 19 #include "chrome/browser/services/gcm/default_gcm_app_handler.h" |
| 20 #include "google_apis/gaia/identity_provider.h" | 20 #include "google_apis/gaia/identity_provider.h" |
| 21 #include "google_apis/gcm/gcm_client.h" | 21 #include "google_apis/gcm/gcm_client.h" |
| 22 | 22 |
| 23 namespace extensions { | 23 namespace extensions { |
| 24 class ExtensionGCMAppHandlerTest; | 24 class ExtensionGCMAppHandlerTest; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace net { | 27 namespace net { |
| 28 class URLRequestContextGetter; | 28 class URLRequestContextGetter; |
| 29 } | 29 } |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 // Used to pass a weak pointer to the IO worker. | 209 // Used to pass a weak pointer to the IO worker. |
| 210 base::WeakPtrFactory<GCMService> weak_ptr_factory_; | 210 base::WeakPtrFactory<GCMService> weak_ptr_factory_; |
| 211 | 211 |
| 212 DISALLOW_COPY_AND_ASSIGN(GCMService); | 212 DISALLOW_COPY_AND_ASSIGN(GCMService); |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 } // namespace gcm | 215 } // namespace gcm |
| 216 | 216 |
| 217 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_SERVICE_H_ | 217 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_SERVICE_H_ |
| OLD | NEW |