| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CRYPTO_GCM_ENCRYPTION_PROVIDER_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_CRYPTO_GCM_ENCRYPTION_PROVIDER_H_ |
| 6 #define COMPONENTS_GCM_DRIVER_CRYPTO_GCM_ENCRYPTION_PROVIDER_H_ | 6 #define COMPONENTS_GCM_DRIVER_CRYPTO_GCM_ENCRYPTION_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 |
| 9 #include <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 15 | 17 |
| 16 namespace base { | 18 namespace base { |
| 17 class FilePath; | 19 class FilePath; |
| 18 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
| 19 } | 21 } |
| 20 | 22 |
| 21 namespace gcm { | 23 namespace gcm { |
| 22 | 24 |
| 23 class GCMKeyStore; | 25 class GCMKeyStore; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 scoped_ptr<GCMKeyStore> key_store_; | 125 scoped_ptr<GCMKeyStore> key_store_; |
| 124 | 126 |
| 125 base::WeakPtrFactory<GCMEncryptionProvider> weak_ptr_factory_; | 127 base::WeakPtrFactory<GCMEncryptionProvider> weak_ptr_factory_; |
| 126 | 128 |
| 127 DISALLOW_COPY_AND_ASSIGN(GCMEncryptionProvider); | 129 DISALLOW_COPY_AND_ASSIGN(GCMEncryptionProvider); |
| 128 }; | 130 }; |
| 129 | 131 |
| 130 } // namespace gcm | 132 } // namespace gcm |
| 131 | 133 |
| 132 #endif // COMPONENTS_GCM_DRIVER_CRYPTO_GCM_ENCRYPTION_PROVIDER_H_ | 134 #endif // COMPONENTS_GCM_DRIVER_CRYPTO_GCM_ENCRYPTION_PROVIDER_H_ |
| OLD | NEW |