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

Unified Diff: blimp/common/public/session/assignment_options.h

Issue 2462183002: GRPC Stream implementation of HeliumStream
Patch Set: Address gcasto 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
« no previous file with comments | « blimp/common/public/session/BUILD.gn ('k') | blimp/engine/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/public/session/assignment_options.h
diff --git a/blimp/common/public/session/assignment_options.h b/blimp/common/public/session/assignment_options.h
new file mode 100644
index 0000000000000000000000000000000000000000..e879fcd6074c94609df64a5852b0834bd8457784
--- /dev/null
+++ b/blimp/common/public/session/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_PUBLIC_SESSION_ASSIGNMENT_OPTIONS_H_
+#define BLIMP_COMMON_PUBLIC_SESSION_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_PUBLIC_SESSION_ASSIGNMENT_OPTIONS_H_
« no previous file with comments | « blimp/common/public/session/BUILD.gn ('k') | blimp/engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698