| 701 | |
| 702 | |
| 703 | void Metrics::transitionOperationState( |
| 704 | Offer::Operation::Type type, |
| 705 | const OperationState& oldState, |
| 706 | const OperationState& newState) |
| 707 | { |
| 708 | if (oldState == newState) { |
| 709 | return; // Nothing to do. |
| 710 | } |
| 711 | |
| 712 | decrementOperationState(type, oldState); |
| 713 | incrementOperationState(type, newState); |
| 714 | } |
| 715 | |
| 716 | |
| 717 | FrameworkMetrics::FrameworkMetrics( |