This source file includes following definitions.
- transactions_observed
- OnTransactionWrite
#include "sync/test/test_transaction_observer.h"
namespace syncer {
namespace syncable {
TestTransactionObserver::TestTransactionObserver()
: transactions_observed_(0) {
}
TestTransactionObserver::~TestTransactionObserver() {
}
int TestTransactionObserver::transactions_observed() {
return transactions_observed_;
}
void TestTransactionObserver::OnTransactionWrite(
const ImmutableWriteTransactionInfo& write_transaction_info,
ModelTypeSet models_with_changes) {
transactions_observed_++;
}
}
}