Searched refs:syncable (Results 1 - 25 of 192) sorted by relevance

12345678

/external/chromium_org/sync/engine/
H A Dapply_control_data_updates.h14 namespace syncable { namespace in namespace:syncer
20 SYNC_EXPORT_PRIVATE void ApplyControlDataUpdates(syncable::Directory* dir);
21 void ApplyNigoriUpdate(syncable::WriteTransaction* trans,
22 syncable::MutableEntry* const entry,
24 void ApplyControlUpdate(syncable::WriteTransaction* const trans,
25 syncable::MutableEntry* const entry,
H A Dconflict_util.h5 // Utility functions that act on syncable::MutableEntry to resolve conflicts.
12 namespace syncable { namespace in namespace:syncer
20 void IgnoreLocalChanges(syncable::MutableEntry* entry);
25 void OverwriteServerChanges(syncable::MutableEntry* entry);
29 void IgnoreConflict(syncable::MutableEntry *trans);
H A Dsyncer_util.h5 // Utility functions manipulating syncable::Entries, intended for use by the
18 #include "sync/syncable/entry_kernel.h"
19 #include "sync/syncable/metahandle_set.h"
20 #include "sync/syncable/mutable_entry.h"
21 #include "sync/syncable/syncable_id.h"
29 namespace syncable { namespace in namespace:syncer
32 } // namespace syncable
45 syncable::Id FindLocalIdToUpdate(
46 syncable::BaseTransaction* trans,
50 syncable
[all...]
H A Dconflict_util.cc7 #include "sync/syncable/mutable_entry.h"
11 using syncable::BASE_VERSION;
12 using syncable::IS_UNAPPLIED_UPDATE;
13 using syncable::IS_UNSYNCED;
14 using syncable::SERVER_VERSION;
16 using syncable::MutableEntry;
H A Dprocess_updates_util.h22 namespace syncable { namespace in namespace:syncer
33 syncable::Directory* dir,
34 syncable::ModelNeutralWriteTransaction* trans,
42 void ExpireEntriesByVersion(syncable::Directory* dir,
43 syncable::ModelNeutralWriteTransaction* trans,
H A Dget_commit_ids.cc12 #include "sync/syncable/directory.h"
13 #include "sync/syncable/entry.h"
14 #include "sync/syncable/nigori_handler.h"
15 #include "sync/syncable/nigori_util.h"
16 #include "sync/syncable/syncable_base_transaction.h"
17 #include "sync/syncable/syncable_util.h"
33 syncable::BaseTransaction* trans,
37 const syncable::Directory::Metahandles& unsynced_handles,
46 syncable::BaseTransaction* trans,
54 syncable
[all...]
H A Dget_commit_ids.h12 #include "sync/syncable/directory.h"
18 namespace syncable { namespace in namespace:syncer
32 syncable::BaseTransaction* trans,
H A Dconflict_resolver.h19 namespace syncable { namespace in namespace:syncer
22 } // namespace syncable
53 void ResolveConflicts(syncable::WriteTransaction* trans,
55 const std::set<syncable::Id>& simple_conflict_ids,
61 syncable::WriteTransaction* trans,
62 const syncable::Id& id,
/external/chromium_org/sync/syncable/
H A Dnigori_handler.cc5 #include "sync/syncable/nigori_handler.h"
8 namespace syncable { namespace in namespace:syncer
14 } // namespace syncable
H A Dsyncable_changes_version.h9 namespace syncable { namespace in namespace:syncer
28 } // namespace syncable
H A Dsyncable-inl.h8 #include "sync/syncable/entry_kernel.h"
11 namespace syncable { namespace in namespace:syncer
16 inline bool operator() (const syncable::EntryKernel* a,
17 const syncable::EntryKernel* b) const {
22 } // namespace syncable
H A Dnigori_handler.h23 namespace syncable { namespace in namespace:syncer
39 syncable::BaseTransaction* const trans) = 0;
44 syncable::BaseTransaction* const trans) const = 0;
48 syncable::BaseTransaction* const trans) const = 0;
54 syncable::BaseTransaction* const trans) = 0;
58 syncable::BaseTransaction* const trans) const = 0;
61 } // namespace syncable
H A Dsyncable_proto_util.cc5 #include "sync/syncable/syncable_proto_util.h"
11 syncable::Id SyncableIdFromProto(const std::string& proto_string) {
12 return syncable::Id::CreateFromServerId(proto_string);
15 std::string SyncableIdToProto(const syncable::Id& syncable_id) {
H A Dblob.h13 namespace syncable { namespace in namespace:syncer
17 } // namespace syncable
H A Dmetahandle_set.h13 namespace syncable { namespace in namespace:syncer
17 } // namespace syncable
H A Dsyncable_proto_util.h11 #include "sync/syncable/syncable_id.h"
19 // Converts from a specially formatted string field to a syncable::Id. Used
21 syncable::Id SyncableIdFromProto(const std::string& proto_string);
23 // Converts from a syncable::Id to a formatted std::string. This is useful for
26 const syncable::Id& syncable_id);
/external/chromium_org/sync/test/engine/
H A Dtest_id_factory.h13 #include "sync/syncable/syncable_id.h"
23 static syncable::Id root() {
24 return syncable::Id();
31 static syncable::Id FromNumber(int64 value) {
35 return syncable::Id::CreateFromClientString(base::Int64ToString(value));
37 return syncable::Id::CreateFromServerId(base::Int64ToString(value));
41 static syncable::Id MakeLocal(std::string name) {
42 return syncable::Id::CreateFromClientString(std::string("lient ") + name);
46 static syncable::Id MakeServer(std::string name) {
47 return syncable
[all...]
H A Dtest_directory_setter_upper.cc11 #include "sync/syncable/directory.h"
12 #include "sync/syncable/in_memory_directory_backing_store.h"
13 #include "sync/syncable/mutable_entry.h"
14 #include "sync/syncable/syncable_read_transaction.h"
15 #include "sync/syncable/syncable_write_transaction.h"
26 test_transaction_observer_.reset(new syncable::TestTransactionObserver());
27 WeakHandle<syncable::TransactionObserver> transaction_observer =
31 new syncable::Directory(
32 new syncable::InMemoryDirectoryBackingStore(name_),
37 ASSERT_EQ(syncable
[all...]
H A Dtest_directory_setter_upper.h6 // syncable::Directory instance for unit tests that require one.
25 // ... now use metadb_.directory() to get at syncable::Entry objects ...
44 namespace syncable { namespace in namespace:syncer
61 syncer::syncable::DirectoryBackingStore* directory_store);
68 syncable::Directory* directory() { return directory_.get(); }
72 syncable::TestTransactionObserver* transaction_observer() {
77 syncable::NullDirectoryChangeDelegate delegate_;
78 scoped_ptr<syncable::TestTransactionObserver> test_transaction_observer_;
84 scoped_ptr<syncable::Directory> directory_;
/external/chromium_org/sync/internal_api/public/
H A Duser_share.h16 namespace syncable { namespace in namespace:syncer
20 // A UserShare encapsulates the syncable pieces that represent an authenticated
23 // syncable share.
29 scoped_ptr<syncable::Directory> directory;
/external/chromium_org/sync/test/
H A Dnull_transaction_observer.cc10 namespace syncable { namespace in namespace:syncer
16 } // namespace syncable
H A Dnull_transaction_observer.h11 namespace syncable { namespace in namespace:syncer
19 } // namespace syncable
/external/chromium_org/sync/internal_api/
H A Dread_node.cc9 #include "sync/syncable/entry.h"
10 #include "sync/syncable/syncable_base_transaction.h"
11 #include "sync/syncable/syncable_util.h"
33 syncable::BaseTransaction* trans = transaction_->GetWrappedTrans();
34 entry_ = new syncable::Entry(trans, syncable::GET_BY_ID, trans->root_id());
42 syncable::BaseTransaction* trans = transaction_->GetWrappedTrans();
43 entry_ = new syncable::Entry(trans, syncable::GET_BY_HANDLE, id);
61 const std::string hash = syncable
[all...]
/external/chromium_org/sync/internal_api/test/
H A Dtest_internal_components_factory.cc8 #include "sync/syncable/deferred_on_disk_directory_backing_store.h"
9 #include "sync/syncable/in_memory_directory_backing_store.h"
10 #include "sync/syncable/on_disk_directory_backing_store.h"
11 #include "sync/syncable/invalid_directory_backing_store.h"
37 syncable::Directory* directory,
58 scoped_ptr<syncable::DirectoryBackingStore>
67 return scoped_ptr<syncable::DirectoryBackingStore>(
68 new syncable::InMemoryDirectoryBackingStore(dir_name));
70 return scoped_ptr<syncable::DirectoryBackingStore>(
71 new syncable
[all...]
H A Dtest_entry_factory.cc7 #include "sync/syncable/directory.h"
8 #include "sync/syncable/entry.h"
9 #include "sync/syncable/mutable_entry.h"
10 #include "sync/syncable/syncable_id.h"
11 #include "sync/syncable/syncable_read_transaction.h"
12 #include "sync/syncable/syncable_util.h"
13 #include "sync/syncable/syncable_write_transaction.h"
20 using syncable::Id;
21 using syncable::MutableEntry;
22 using syncable
[all...]

Completed in 2260 milliseconds

12345678