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_FAKE_GCM_APP_HANDLER_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_APP_HANDLER_H_ |
6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_APP_HANDLER_H_ | 6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_APP_HANDLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "components/gcm_driver/gcm_app_handler.h" | 11 #include "components/gcm_driver/gcm_app_handler.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class RunLoop; | 14 class RunLoop; |
14 } | 15 } |
15 | 16 |
16 namespace gcm { | 17 namespace gcm { |
17 | 18 |
18 class FakeGCMAppHandler : public GCMAppHandler { | 19 class FakeGCMAppHandler : public GCMAppHandler { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 std::string acked_message_id_; | 59 std::string acked_message_id_; |
59 IncomingMessage message_; | 60 IncomingMessage message_; |
60 GCMClient::SendErrorDetails send_error_details_; | 61 GCMClient::SendErrorDetails send_error_details_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(FakeGCMAppHandler); | 63 DISALLOW_COPY_AND_ASSIGN(FakeGCMAppHandler); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace gcm | 66 } // namespace gcm |
66 | 67 |
67 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_APP_HANDLER_H_ | 68 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_APP_HANDLER_H_ |
OLD | NEW |