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

Unified Diff: blimp/common/assignment_options.h

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/common/assignment_options.h
diff --git a/blimp/common/assignment_options.h b/blimp/common/assignment_options.h
new file mode 100644
index 0000000000000000000000000000000000000000..30c55d30a93a6038412d9fbe61e864da0ba5ac36
--- /dev/null
+++ b/blimp/common/assignment_options.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BLIMP_COMMON_ASSIGNMENT_OPTIONS_H_
+#define BLIMP_COMMON_ASSIGNMENT_OPTIONS_H_
+
+#include "net/base/ip_endpoint.h"
+
+namespace blimp {
+
+// Transport-specific options struct to connect to a specific Engine. This
+// structure is meant to be generated by the Engine and used by the client.
+// Clients (such as tests) are expected to pass this on as an opaque structure.
+struct AssignmentOptions {
+ // Specifies the IP address and port on which to reach the engine.
+ net::IPEndPoint engine_endpoint;
+
+ // Specifies an optional file-descriptor to listen to (mainly for gRPC).
+ int file_descriptor = -1;
+};
+
+} // namespace blimp
+
+#endif // BLIMP_COMMON_ASSIGNMENT_OPTIONS_H_
« no previous file with comments | « blimp/common/DEPS ('k') | blimp/common/proto/BUILD.gn » ('j') | blimp/common/proto/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698