Lines Matching defs:syncable
52 #include "chrome/browser/sync/syncable/autofill_migration.h"
53 #include "chrome/browser/sync/syncable/model_type.h"
76 namespace syncable {
110 // A UserShare encapsulates the syncable pieces that represent an authenticated
113 // syncable share.
120 scoped_ptr<syncable::DirectoryManager> dir_manager;
135 // BaseNode wraps syncable::Entry, and corresponds to a single object's state.
136 // This, like syncable::Entry, is intended for use on the stack. A valid
138 // Unlike syncable::Entry, a sync API BaseNode is identified primarily by its
150 virtual bool InitByClientTagLookup(syncable::ModelType model_type,
153 // Each object is identified by a 64-bit id (internally, the syncable
168 // of syncable::Entry.
178 syncable::ModelType GetModelType() const;
253 virtual const syncable::Entry* GetEntry() const = 0;
269 static std::string GenerateSyncableHash(syncable::ModelType model_type,
277 bool DecryptIfNecessary(syncable::Entry* entry);
285 const syncable::Entry* entry) const;
303 // syncable::MutableEntry. A WriteTransaction is needed to create a WriteNode.
315 virtual bool InitByClientTagLookup(syncable::ModelType model_type,
324 bool InitByCreation(syncable::ModelType model_type,
334 bool InitUniqueByCreation(syncable::ModelType model_type,
413 virtual const syncable::Entry* GetEntry() const;
421 void PutModelType(syncable::ModelType model_type);
463 // The underlying syncable object which this class wraps.
464 syncable::MutableEntry* entry_;
472 // ReadNode wraps a syncable::Entry to provide the functionality of a
486 virtual bool InitByClientTagLookup(syncable::ModelType model_type,
499 virtual const syncable::Entry* GetEntry() const;
508 // The underlying syncable object which this class wraps.
509 syncable::Entry* entry_;
521 // syncable, and are used in a similar way. Unlike syncable::BaseTransaction,
522 // whose construction requires an explicit syncable::ScopedDirLookup, a sync
526 // Provide access to the underlying syncable.h objects from BaseNode.
527 virtual syncable::BaseTransaction* GetWrappedTrans() const = 0;
528 const syncable::ScopedDirLookup& GetLookup() const { return *lookup_; }
543 // A syncable ScopedDirLookup, which is the parent of syncable transactions.
544 syncable::ScopedDirLookup* lookup_;
552 // a syncable::ReadTransaction.
559 ReadTransaction(UserShare* share, syncable::BaseTransaction* trans);
564 virtual syncable::BaseTransaction* GetWrappedTrans() const;
568 // The underlying syncable object which this class wraps.
569 syncable::BaseTransaction* transaction_;
576 // a syncable::WriteTransaction.
583 // Provide access to the syncable.h transaction from the API WriteNode.
584 virtual syncable::BaseTransaction* GetWrappedTrans() const;
585 syncable::WriteTransaction* GetWrappedWriteTrans() { return transaction_; }
590 void SetTransaction(syncable::WriteTransaction* trans) {
596 // The underlying syncable object which this class wraps.
597 syncable::WriteTransaction* transaction_;
602 // SyncManager encapsulates syncable::DirectoryManager and serves as the parent
752 virtual void OnChangesApplied(syncable::ModelType model_type,
768 virtual void OnChangesComplete(syncable::ModelType model_type) = 0;
824 const syncable::ModelTypeSet& encrypted_types) = 0;
871 syncable::AutofillMigrationState GetAutofillMigrationState();
874 syncable::AutofillMigrationState state);
876 syncable::AutofillMigrationDebugInfo GetAutofillMigrationDebugInfo();
879 syncable::AutofillMigrationDebugInfo::PropertyToSet property_to_set,
880 const syncable::AutofillMigrationDebugInfo& info);
912 void EncryptDataTypes(const syncable::ModelTypeSet& encrypted_types);
923 void RequestConfig(const syncable::ModelTypeBitSet& types);
1008 const syncable::ModelTypeBitSet& model_types);