| 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_
|
|
|