This source file includes following definitions.
- share_handle_
- Start
- CommitChangesFromSyncModel
- error_handler
- share_handle
#include "chrome/browser/sync/glue/change_processor.h"
#include "chrome/browser/profiles/profile.h"
namespace browser_sync {
ChangeProcessor::ChangeProcessor(DataTypeErrorHandler* error_handler)
: error_handler_(error_handler),
share_handle_(NULL) {}
ChangeProcessor::~ChangeProcessor() {
}
void ChangeProcessor::Start(Profile* profile,
syncer::UserShare* share_handle) {
DCHECK(!share_handle_);
share_handle_ = share_handle;
StartImpl(profile);
}
void ChangeProcessor::CommitChangesFromSyncModel() {}
DataTypeErrorHandler* ChangeProcessor::error_handler() const {
return error_handler_;
}
syncer::UserShare* ChangeProcessor::share_handle() const {
return share_handle_;
}
}