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_COPRESENCE_HANDLERS_GCM_HANDLER_IMPL_H_ | 5 #ifndef COMPONENTS_COPRESENCE_HANDLERS_GCM_HANDLER_IMPL_H_ |
6 #define COMPONENTS_COPRESENCE_HANDLERS_GCM_HANDLER_IMPL_H_ | 6 #define COMPONENTS_COPRESENCE_HANDLERS_GCM_HANDLER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/cancelable_callback.h" | 12 #include "base/cancelable_callback.h" |
| 13 #include "base/macros.h" |
13 #include "components/copresence/handlers/gcm_handler.h" | 14 #include "components/copresence/handlers/gcm_handler.h" |
14 #include "components/copresence/public/copresence_constants.h" | 15 #include "components/copresence/public/copresence_constants.h" |
15 #include "components/gcm_driver/gcm_app_handler.h" | 16 #include "components/gcm_driver/gcm_app_handler.h" |
16 #include "components/gcm_driver/gcm_client.h" | 17 #include "components/gcm_driver/gcm_client.h" |
17 | 18 |
18 namespace gcm { | 19 namespace gcm { |
19 class GCMDriver; | 20 class GCMDriver; |
20 } | 21 } |
21 | 22 |
22 namespace copresence { | 23 namespace copresence { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 75 |
75 base::CancelableCallback<void(const std::string&, | 76 base::CancelableCallback<void(const std::string&, |
76 gcm::GCMClient::Result)> registration_callback_; | 77 gcm::GCMClient::Result)> registration_callback_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(GCMHandlerImpl); | 79 DISALLOW_COPY_AND_ASSIGN(GCMHandlerImpl); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace copresence | 82 } // namespace copresence |
82 | 83 |
83 #endif // COMPONENTS_COPRESENCE_HANDLERS_GCM_HANDLER_IMPL_H_ | 84 #endif // COMPONENTS_COPRESENCE_HANDLERS_GCM_HANDLER_IMPL_H_ |
OLD | NEW |