/external/chromium/chrome/browser/sync/engine/ |
conflict_resolver.h | 20 namespace syncable { namespace 26 } // namespace syncable 42 bool ResolveConflicts(const syncable::ScopedDirLookup& dir, 52 typedef std::map<syncable::Id, int> SimpleConflictCountMap; 63 void IgnoreLocalChanges(syncable::MutableEntry* entry); 64 void OverwriteServerChanges(syncable::WriteTransaction* trans, 65 syncable::MutableEntry* entry); 68 syncable::WriteTransaction* trans, 69 const syncable::Id& id); 71 bool ResolveSimpleConflicts(const syncable::ScopedDirLookup& dir [all...] |
syncproto.h | 15 #include "chrome/browser/sync/syncable/model_type.h" 16 #include "chrome/browser/sync/syncable/syncable_id.h" 26 syncable::Id id() const { 27 return syncable::Id::CreateFromServerId(Base::id_string()); 29 void set_id(const syncable::Id& id) { 43 void set_parent_id(const syncable::Id& id) { 46 syncable::Id parent_id() const { 47 return syncable::Id::CreateFromServerId(parent_id_string()); 49 void set_old_parent_id(const syncable::Id& id) { 53 syncable::Id old_parent_id() const [all...] |
download_updates_command_unittest.cc | 10 #include "chrome/browser/sync/syncable/directory_manager.h" 16 using syncable::FIRST_REAL_MODEL_TYPE; 17 using syncable::MODEL_TYPE_COUNT; 32 virtual void SetRoutingInfo(const syncable::ModelTypeSet& types) { 33 for (syncable::ModelTypeSet::const_iterator iter = types.begin(); 47 syncable::ModelTypeBitSet enabled_types; 48 enabled_types[syncable::BOOKMARKS] = true; 49 enabled_types[syncable::AUTOFILL] = true; 50 enabled_types[syncable::PREFERENCES] = true; 62 syncable::ModelTypeBitSet enabled_types [all...] |
post_commit_message_command.cc | 12 #include "chrome/browser/sync/syncable/directory_manager.h" 25 syncable::ScopedDirLookup dir(session->context()->directory_manager(), 37 syncable::WriteTransaction trans(dir, syncable::SYNCER, __FILE__, __LINE__); 38 const vector<syncable::Id>& commit_ids = status->commit_ids(); 40 syncable::MutableEntry entry(&trans, syncable::GET_BY_ID, commit_ids[i]); 41 entry.Put(syncable::SYNCING, false);
|
verify_updates_command_unittest.cc | 8 #include "chrome/browser/sync/syncable/directory_manager.h" 10 #include "chrome/browser/sync/syncable/syncable.h" 11 #include "chrome/browser/sync/syncable/syncable_id.h" 20 using syncable::Entry; 21 using syncable::Id; 22 using syncable::MutableEntry; 23 using syncable::ReadTransaction; 24 using syncable::ScopedDirLookup; 25 using syncable::UNITTEST [all...] |
get_commit_ids_command.h | 34 syncable::WriteTransaction* write_transaction, 45 syncable::WriteTransaction* write_transaction, 90 syncable::MutableEntry entry(write_transaction_, 91 syncable::GET_BY_HANDLE, metahandle); 96 entry.Put(syncable::IS_UNSYNCED, false); 101 syncable::WriteTransaction* const write_transaction_; 111 syncable::BaseTransaction* trans, 112 syncable::Id parent_id, 118 bool AddItem(syncable::Entry* item, sessions::OrderedCommitSet* result); 119 bool AddItemThenPredecessors(syncable::BaseTransaction* trans [all...] |
cleanup_disabled_types_command.cc | 9 #include "chrome/browser/sync/syncable/directory_manager.h" 10 #include "chrome/browser/sync/syncable/model_type.h" 11 #include "chrome/browser/sync/syncable/syncable.h" 19 syncable::ModelTypeSet to_cleanup; 20 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 21 i < syncable::MODEL_TYPE_COUNT; i++) { 22 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); 52 syncable::ScopedDirLookup dir(session->context()->directory_manager() [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
syncable-inl.h | 9 namespace syncable { namespace 14 inline bool operator() (const syncable::EntryKernel* a, 15 const syncable::EntryKernel* b) const { 20 } // namespace syncable
|
dir_open_result.h | 9 namespace syncable { namespace 17 } // namespace syncable
|
syncable_mock.cc | 5 #include "chrome/browser/sync/syncable/syncable_mock.h" 15 : WriteTransaction(directory, syncable::UNITTEST, "dontcare.cpp", 25) {
|
/external/chromium_org/sync/engine/ |
sync_directory_commit_contributor.h | 16 namespace syncable { namespace in namespace:syncer 20 // This class represents the syncable::Directory as a source of items to commit 24 // syncable::Directory. When asked, it will iterate through the directory, grab 29 SyncDirectoryCommitContributor(syncable::Directory* dir, ModelType type); 35 syncable::Directory* dir_;
|
conflict_resolver.h | 19 namespace syncable { namespace in namespace:syncer 22 } // namespace syncable 52 void ResolveConflicts(syncable::WriteTransaction* trans, 54 const std::set<syncable::Id>& simple_conflict_ids, 59 syncable::WriteTransaction* trans, 60 const syncable::Id& id,
|
conflict_util.cc | 7 #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;
|
update_applicator.h | 19 #include "sync/syncable/syncable_id.h" 28 namespace syncable { namespace in namespace:syncer 42 void AttemptApplications(syncable::WriteTransaction* trans, 57 const std::set<syncable::Id>& simple_conflict_ids() { 63 bool SkipUpdate(const syncable::Entry& entry); 73 std::set<syncable::Id> simple_conflict_ids_;
|
/external/chromium_org/sync/syncable/ |
syncable-inl.h | 8 #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
|
syncable_proto_util.cc | 5 #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) {
|
/external/chromium_org/sync/internal_api/public/ |
write_transaction.h | 19 namespace syncable { namespace in namespace:syncer 22 } // namespace syncable 25 // a syncable::WriteTransaction. 35 // is changed by the transaction, or syncer::syncable::kInvalidTransaction 42 // Provide access to the syncable transaction from the API WriteNode. 43 virtual syncable::BaseTransaction* GetWrappedTrans() const OVERRIDE; 44 syncable::WriteTransaction* GetWrappedWriteTrans() { return transaction_; } 49 void SetTransaction(syncable::WriteTransaction* trans) { 56 // The underlying syncable object which this class wraps. 57 syncable::WriteTransaction* transaction_ [all...] |
base_transaction.h | 15 namespace syncable { namespace in namespace:syncer 24 // syncable, and are used in a similar way. Unlike syncable::BaseTransaction, 25 // whose construction requires an explicit syncable::Directory, a sync 29 // Provide access to the underlying syncable objects from BaseNode. 30 virtual syncable::BaseTransaction* GetWrappedTrans() const = 0; 34 syncable::Directory* GetDirectory() const {
|
read_transaction.h | 21 // a syncable::ReadTransaction. 29 ReadTransaction(UserShare* share, syncable::BaseTransaction* trans); 34 virtual syncable::BaseTransaction* GetWrappedTrans() const OVERRIDE; 43 // The underlying syncable object which this class wraps. 44 syncable::BaseTransaction* transaction_;
|
/external/chromium_org/sync/test/engine/ |
test_syncable_utils.h | 6 // syncable database. 16 namespace syncable { namespace in namespace:syncer 27 const syncable::Id& parent_id, 32 const syncable::Id& parent_id, 38 const syncable::Id& parent_id, 42 syncable::Directory *dir, 45 } // namespace syncable
|
test_directory_setter_upper.cc | 11 #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::OPENED, directory_->Open [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
registration_manager.h | 18 #include "chrome/browser/sync/syncable/model_type.h" 57 typedef std::map<syncable::ModelType, PendingRegistrationInfo> 68 void SetRegisteredTypes(const syncable::ModelTypeSet& types); 72 void MarkRegistrationLost(syncable::ModelType model_type); 80 syncable::ModelTypeSet GetRegisteredTypes() const; 112 syncable::ModelType model_type; 136 void TryRegisterType(syncable::ModelType model_type, 143 void DoRegisterType(syncable::ModelType model_type); 146 void UnregisterType(syncable::ModelType model_type); 149 bool IsTypeRegistered(syncable::ModelType model_type) const [all...] |
registration_manager.cc | 13 #include "chrome/browser/sync/syncable/model_type.h" 20 : model_type(syncable::UNSPECIFIED), 27 DCHECK_NE(model_type, syncable::UNSPECIFIED); 49 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 50 i < syncable::MODEL_TYPE_COUNT; ++i) { 51 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); 63 const syncable::ModelTypeSet& types) { 66 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 67 i < syncable::MODEL_TYPE_COUNT; ++i) [all...] |
/external/chromium/chrome/browser/sync/ |
profile_sync_factory_impl_unittest.cc | 36 static std::vector<syncable::ModelType> DefaultDatatypes() { 37 std::vector<syncable::ModelType> datatypes; 38 datatypes.push_back(syncable::BOOKMARKS); 39 datatypes.push_back(syncable::PREFERENCES); 40 datatypes.push_back(syncable::AUTOFILL); 41 datatypes.push_back(syncable::THEMES); 42 datatypes.push_back(syncable::EXTENSIONS); 43 datatypes.push_back(syncable::APPS); 44 datatypes.push_back(syncable::AUTOFILL_PROFILE); 45 datatypes.push_back(syncable::PASSWORDS) [all...] |
js_sync_manager_observer_unittest.cc | 15 #include "chrome/browser/sync/syncable/model_type.h" 63 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 64 i < syncable::MODEL_TYPE_COUNT; ++i) { 66 syncable::ModelTypeToString(syncable::ModelTypeFromInt(i)); 74 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 75 i < syncable::MODEL_TYPE_COUNT; ++i) { 76 sync_manager_observer_.OnChangesComplete(syncable::ModelTypeFromInt(i)); 81 std::string download_progress_markers[syncable::MODEL_TYPE_COUNT]; 86 syncable::ModelTypeBitSet() [all...] |