OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This file defines the "sync API", an interface to the syncer | 5 // This file defines the "sync API", an interface to the syncer |
6 // backend that exposes (1) the core functionality of maintaining a consistent | 6 // backend that exposes (1) the core functionality of maintaining a consistent |
7 // local snapshot of a hierarchical object set; (2) a means to transactionally | 7 // local snapshot of a hierarchical object set; (2) a means to transactionally |
8 // access and modify those objects; (3) a means to control client/server | 8 // access and modify those objects; (3) a means to control client/server |
9 // synchronization tasks, namely: pushing local object modifications to a | 9 // synchronization tasks, namely: pushing local object modifications to a |
10 // server, pulling nonlocal object modifications from a server to this client, | 10 // server, pulling nonlocal object modifications from a server to this client, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 class MutableEntry; | 72 class MutableEntry; |
73 class ReadTransaction; | 73 class ReadTransaction; |
74 class ScopedDirLookup; | 74 class ScopedDirLookup; |
75 class WriteTransaction; | 75 class WriteTransaction; |
76 } | 76 } |
77 | 77 |
78 namespace sync_pb { | 78 namespace sync_pb { |
79 class AutofillSpecifics; | 79 class AutofillSpecifics; |
80 class BookmarkSpecifics; | 80 class BookmarkSpecifics; |
81 class EntitySpecifics; | 81 class EntitySpecifics; |
| 82 class PasswordSpecifics; |
82 class PreferenceSpecifics; | 83 class PreferenceSpecifics; |
83 class PasswordSpecifics; | 84 class PasswordSpecifics; |
84 class PasswordSpecificsData; | 85 class PasswordSpecificsData; |
85 class ThemeSpecifics; | 86 class ThemeSpecifics; |
86 class TypedUrlSpecifics; | 87 class TypedUrlSpecifics; |
87 } | 88 } |
88 | 89 |
89 namespace sync_api { | 90 namespace sync_api { |
90 | 91 |
91 // Forward declarations of classes to be defined later in this file. | 92 // Forward declarations of classes to be defined later in this file. |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 // This allows actual HttpPostProvider subclass implementations to be | 843 // This allows actual HttpPostProvider subclass implementations to be |
843 // reference counted, which is useful if a particular implementation uses | 844 // reference counted, which is useful if a particular implementation uses |
844 // multiple threads to serve network requests. | 845 // multiple threads to serve network requests. |
845 virtual void Destroy(HttpPostProviderInterface* http) = 0; | 846 virtual void Destroy(HttpPostProviderInterface* http) = 0; |
846 virtual ~HttpPostProviderFactory() { } | 847 virtual ~HttpPostProviderFactory() { } |
847 }; | 848 }; |
848 | 849 |
849 } // namespace sync_api | 850 } // namespace sync_api |
850 | 851 |
851 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ | 852 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ |
OLD | NEW |