| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SYNCABLE_BASE_NODE_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_BASE_NODE_H_ |
| 6 #define COMPONENTS_SYNC_SYNCABLE_BASE_NODE_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_BASE_NODE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "components/sync/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
| 19 #include "components/sync/model/attachments/attachment.h" | 19 #include "components/sync/model/attachments/attachment.h" |
| 20 #include "components/sync/protocol/sync.pb.h" | 20 #include "components/sync/protocol/sync.pb.h" |
| 21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
| 22 | 22 |
| 23 // Forward declarations of internal class types so that sync API objects | 23 // Forward declarations of internal class types so that sync API objects |
| 24 // may have opaque pointers to these types. | 24 // may have opaque pointers to these types. |
| 25 namespace base { | 25 namespace base { |
| 26 class DictionaryValue; | 26 class DictionaryValue; |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace sync_pb { | 29 namespace sync_pb { |
| 30 class AppSpecifics; | |
| 31 class AutofillSpecifics; | |
| 32 class AutofillProfileSpecifics; | |
| 33 class BookmarkSpecifics; | 30 class BookmarkSpecifics; |
| 34 class EntitySpecifics; | 31 class EntitySpecifics; |
| 35 class ExtensionSpecifics; | |
| 36 class SessionSpecifics; | |
| 37 class NigoriSpecifics; | 32 class NigoriSpecifics; |
| 38 class PreferenceSpecifics; | |
| 39 class PasswordSpecificsData; | 33 class PasswordSpecificsData; |
| 40 class ThemeSpecifics; | |
| 41 class TypedUrlSpecifics; | 34 class TypedUrlSpecifics; |
| 42 } // namespace sync_pb | 35 } // namespace sync_pb |
| 43 | 36 |
| 44 namespace syncer { | 37 namespace syncer { |
| 45 | 38 |
| 46 class BaseTransaction; | 39 class BaseTransaction; |
| 47 | 40 |
| 48 namespace syncable { | 41 namespace syncable { |
| 49 class BaseTransaction; | 42 class BaseTransaction; |
| 50 class Entry; | 43 class Entry; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 227 |
| 235 // Same as |unencrypted_data_|, but for legacy password encryption. | 228 // Same as |unencrypted_data_|, but for legacy password encryption. |
| 236 std::unique_ptr<sync_pb::PasswordSpecificsData> password_data_; | 229 std::unique_ptr<sync_pb::PasswordSpecificsData> password_data_; |
| 237 | 230 |
| 238 DISALLOW_COPY_AND_ASSIGN(BaseNode); | 231 DISALLOW_COPY_AND_ASSIGN(BaseNode); |
| 239 }; | 232 }; |
| 240 | 233 |
| 241 } // namespace syncer | 234 } // namespace syncer |
| 242 | 235 |
| 243 #endif // COMPONENTS_SYNC_SYNCABLE_BASE_NODE_H_ | 236 #endif // COMPONENTS_SYNC_SYNCABLE_BASE_NODE_H_ |
| OLD | NEW |