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 COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_H_ | 5 #ifndef COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_H_ |
6 #define COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_H_ | 6 #define COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "components/sync/protocol/sync.pb.h" | 13 #include "components/sync/protocol/sync.pb.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class DictionaryValue; | 16 class DictionaryValue; |
16 } | 17 } |
17 | 18 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // ids in that the same device will have different id for different apps | 93 // ids in that the same device will have different id for different apps |
93 // and they are also reset when app/extension is uninstalled. | 94 // and they are also reset when app/extension is uninstalled. |
94 std::string public_id_; | 95 std::string public_id_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(DeviceInfo); | 97 DISALLOW_COPY_AND_ASSIGN(DeviceInfo); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace syncer | 100 } // namespace syncer |
100 | 101 |
101 #endif // COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_H_ | 102 #endif // COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_H_ |
OLD | NEW |