refactor: Update proto includes and conditional compilation for gRPC

This commit is contained in:
scawful
2025-10-08 17:19:02 -04:00
parent 666b92bd07
commit 3d1d961d0a
6 changed files with 21 additions and 28 deletions

View File

@@ -384,12 +384,15 @@ class TestManager {
#endif
#endif // defined(YAZE_WITH_GRPC)
#if defined(YAZE_WITH_GRPC)
std::string GenerateHarnessTestIdLocked(absl::string_view prefix)
ABSL_EXCLUSIVE_LOCKS_REQUIRED(harness_history_mutex_);
ABSL_EXCLUSIVE_LOCKS_REQUIRED(harness_history_mutex_);
void TrimHarnessHistoryLocked()
ABSL_EXCLUSIVE_LOCKS_REQUIRED(harness_history_mutex_);
ABSL_EXCLUSIVE_LOCKS_REQUIRED(harness_history_mutex_);
#endif
absl::Mutex mutex_;
absl::Mutex mutex_;
};
// Utility functions for test result formatting