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

Unified Diff: blimp/client/public/session/assignment.cc

Issue 2462183002: GRPC Stream implementation of HeliumStream
Patch Set: Fixed a few minor comments Created 4 years, 1 month 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
Index: blimp/client/public/session/assignment.cc
diff --git a/blimp/client/public/session/assignment.cc b/blimp/client/public/session/assignment.cc
index 333875fb2e07f0f8259853e2508ba73c84472225..ac938613ab08863d089c52a08022fd526a0f4067 100644
--- a/blimp/client/public/session/assignment.cc
+++ b/blimp/client/public/session/assignment.cc
@@ -16,7 +16,8 @@ Assignment::Assignment(const Assignment& other) = default;
Assignment::~Assignment() {}
bool Assignment::IsValid() const {
- if (engine_endpoint.address().empty() || engine_endpoint.port() == 0 ||
+ if (assignment_options.engine_endpoint.address().empty() ||
+ assignment_options.engine_endpoint.port() == 0 ||
transport_protocol == TransportProtocol::UNKNOWN) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698