Replace (D)CHECK with QUICHE_(D)CHECK.

PiperOrigin-RevId: 355031711
Change-Id: Icf17b3b806e6040da8d6f6177408de4cfc2a263f
diff --git a/quic/test_tools/simulator/simulator.cc b/quic/test_tools/simulator/simulator.cc
index 9aa10ab..8d68ee4 100644
--- a/quic/test_tools/simulator/simulator.cc
+++ b/quic/test_tools/simulator/simulator.cc
@@ -48,15 +48,15 @@
   auto emplace_names_result = actor_names_.insert(actor->name());
 
   // Ensure that the object was actually placed into the map.
-  DCHECK(emplace_times_result.second);
-  DCHECK(emplace_names_result.second);
+  QUICHE_DCHECK(emplace_times_result.second);
+  QUICHE_DCHECK(emplace_names_result.second);
 }
 
 void Simulator::RemoveActor(Actor* actor) {
   auto scheduled_time_it = scheduled_times_.find(actor);
   auto actor_names_it = actor_names_.find(actor->name());
-  DCHECK(scheduled_time_it != scheduled_times_.end());
-  DCHECK(actor_names_it != actor_names_.end());
+  QUICHE_DCHECK(scheduled_time_it != scheduled_times_.end());
+  QUICHE_DCHECK(actor_names_it != actor_names_.end());
 
   QuicTime scheduled_time = scheduled_time_it->second;
   if (scheduled_time != QuicTime::Infinite()) {
@@ -69,7 +69,7 @@
 
 void Simulator::Schedule(Actor* actor, QuicTime new_time) {
   auto scheduled_time_it = scheduled_times_.find(actor);
-  DCHECK(scheduled_time_it != scheduled_times_.end());
+  QUICHE_DCHECK(scheduled_time_it != scheduled_times_.end());
   QuicTime scheduled_time = scheduled_time_it->second;
 
   if (scheduled_time <= new_time) {
@@ -86,10 +86,10 @@
 
 void Simulator::Unschedule(Actor* actor) {
   auto scheduled_time_it = scheduled_times_.find(actor);
-  DCHECK(scheduled_time_it != scheduled_times_.end());
+  QUICHE_DCHECK(scheduled_time_it != scheduled_times_.end());
   QuicTime scheduled_time = scheduled_time_it->second;
 
-  DCHECK(scheduled_time != QuicTime::Infinite());
+  QUICHE_DCHECK(scheduled_time != QuicTime::Infinite());
   auto range = schedule_.equal_range(scheduled_time);
   for (auto it = range.first; it != range.second; ++it) {
     if (it->second == actor) {
@@ -98,7 +98,7 @@
       return;
     }
   }
-  DCHECK(false);
+  QUICHE_DCHECK(false);
 }
 
 const QuicClock* Simulator::GetClock() const {
@@ -129,7 +129,7 @@
 }
 
 void Simulator::RunFor(QuicTime::Delta time_span) {
-  DCHECK(!run_for_alarm_->IsSet());
+  QUICHE_DCHECK(!run_for_alarm_->IsSet());
 
   // RunFor() ensures that the simulation stops at the exact time specified by
   // scheduling an alarm at that point and using that alarm to abort the
@@ -141,8 +141,8 @@
   run_for_should_stop_ = false;
   bool simulation_result = RunUntil([this]() { return run_for_should_stop_; });
 
-  DCHECK(simulation_result);
-  DCHECK(clock_.Now() == end_time);
+  QUICHE_DCHECK(simulation_result);
+  QUICHE_DCHECK(clock_.Now() == end_time);
 }
 
 void Simulator::HandleNextScheduledActor() {