Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: src/data_plan.cc

Issue 5696004: cashew: add cros-debug support (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: Address djkurtz review comments Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/data_plan.cc
diff --git a/src/data_plan.cc b/src/data_plan.cc
index e6c5a7198fb8b61239dc1ccac65cc4952195f155..ca58fb31241a395ef42929ed6d3156e1ba52db33 100644
--- a/src/data_plan.cc
+++ b/src/data_plan.cc
@@ -306,7 +306,7 @@ DataPlan* DataPlan::GetActivePlan(const DataPlanList& data_plans) {
DataPlanList::const_iterator it;
for (it = data_plans.begin(); it != data_plans.end(); ++it) {
DataPlan *plan = *it;
- DCHECK(plan != NULL);
+ DCHECK_NOTNULL(plan);
if (plan->IsActive()) {
return plan;
}
@@ -325,7 +325,7 @@ const char* DataPlan::TypeToLibcrosString(DataPlan::Type type) const {
case kTypeMeteredPaid:
return kCellularDataPlanTypeMeteredPaid;
default:
- DCHECK(false);
+ CHECK(false);
}
}
« no previous file with comments | « no previous file | src/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698