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 CHROME_BROWSER_SYNC_INTERNAL_API_CHANGE_RECORD_H_ | 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_CHANGE_RECORD_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_CHANGE_RECORD_H_ | 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_CHANGE_RECORD_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
12 #include "chrome/browser/sync/util/immutable.h" | |
13 #include "sync/protocol/password_specifics.pb.h" | 12 #include "sync/protocol/password_specifics.pb.h" |
14 #include "sync/protocol/sync.pb.h" | 13 #include "sync/protocol/sync.pb.h" |
| 14 #include "sync/util/immutable.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 } // namespace base | 18 } // namespace base |
19 | 19 |
20 namespace sync_api { | 20 namespace sync_api { |
21 | 21 |
22 // TODO(zea): One day get passwords playing nicely with the rest of encryption | 22 // TODO(zea): One day get passwords playing nicely with the rest of encryption |
23 // and get rid of this. | 23 // and get rid of this. |
24 class ExtraPasswordChangeRecordData { | 24 class ExtraPasswordChangeRecordData { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 linked_ptr<ExtraPasswordChangeRecordData> extra; | 58 linked_ptr<ExtraPasswordChangeRecordData> extra; |
59 }; | 59 }; |
60 | 60 |
61 typedef std::vector<ChangeRecord> ChangeRecordList; | 61 typedef std::vector<ChangeRecord> ChangeRecordList; |
62 | 62 |
63 typedef browser_sync::Immutable<ChangeRecordList> ImmutableChangeRecordList; | 63 typedef browser_sync::Immutable<ChangeRecordList> ImmutableChangeRecordList; |
64 | 64 |
65 } // namespace sync_api | 65 } // namespace sync_api |
66 | 66 |
67 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_CHANGE_RECORD_H_ | 67 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_CHANGE_RECORD_H_ |
OLD | NEW |