| 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_DRIVER_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ |
| 6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ | 6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" |
| 10 #include "components/gcm_driver/gcm_driver.h" | 11 #include "components/gcm_driver/gcm_driver.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 class SequencedTaskRunner; | 14 class SequencedTaskRunner; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace gcm { | 17 namespace gcm { |
| 17 | 18 |
| 18 class FakeGCMDriver : public GCMDriver { | 19 class FakeGCMDriver : public GCMDriver { |
| 19 public: | 20 public: |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 GCMEncryptionProvider::DecryptionResult result) | 63 GCMEncryptionProvider::DecryptionResult result) |
| 63 override; | 64 override; |
| 64 | 65 |
| 65 private: | 66 private: |
| 66 DISALLOW_COPY_AND_ASSIGN(FakeGCMDriver); | 67 DISALLOW_COPY_AND_ASSIGN(FakeGCMDriver); |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 } // namespace gcm | 70 } // namespace gcm |
| 70 | 71 |
| 71 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ | 72 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ |
| OLD | NEW |