OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 SYNC_UTIL_NIGORI_H_ | 5 #ifndef SYNC_UTIL_NIGORI_H_ |
6 #define SYNC_UTIL_NIGORI_H_ | 6 #define SYNC_UTIL_NIGORI_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 | 11 |
13 namespace crypto { | 12 namespace crypto { |
14 class SymmetricKey; | 13 class SymmetricKey; |
15 } // namespace crypto | 14 } // namespace crypto |
16 | 15 |
17 namespace syncer { | 16 namespace syncer { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 76 |
78 private: | 77 private: |
79 scoped_ptr<crypto::SymmetricKey> user_key_; | 78 scoped_ptr<crypto::SymmetricKey> user_key_; |
80 scoped_ptr<crypto::SymmetricKey> encryption_key_; | 79 scoped_ptr<crypto::SymmetricKey> encryption_key_; |
81 scoped_ptr<crypto::SymmetricKey> mac_key_; | 80 scoped_ptr<crypto::SymmetricKey> mac_key_; |
82 }; | 81 }; |
83 | 82 |
84 } // namespace syncer | 83 } // namespace syncer |
85 | 84 |
86 #endif // SYNC_UTIL_NIGORI_H_ | 85 #endif // SYNC_UTIL_NIGORI_H_ |
OLD | NEW |