| 67 | } |
| 68 | |
| 69 | void NotificationImpl::SetNotifyCallBack(Notification::Callback callback) { |
| 70 | if (notify_cell_->notify_transaction == NULL) { |
| 71 | notify_callback_ = callback; |
| 72 | } else { |
| 73 | LOG(ERROR) << "Support notify callback only when TransactionType = kNoneTransaction"; |
| 74 | abort(); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | void NotificationImpl::SetNotifyContext(void* context) { notify_context_ = context; } |
| 79 |