| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BLIMP_CLIENT_PUBLIC_SESSION_ASSIGNMENT_H_ | 5 #ifndef BLIMP_CLIENT_PUBLIC_SESSION_ASSIGNMENT_H_ |
| 6 #define BLIMP_CLIENT_PUBLIC_SESSION_ASSIGNMENT_H_ | 6 #define BLIMP_CLIENT_PUBLIC_SESSION_ASSIGNMENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "net/base/ip_endpoint.h" | 11 #include "net/base/ip_endpoint.h" |
| 12 | 12 #include "net/cert/x509_certificate.h" |
| 13 namespace net { | |
| 14 class X509Certificate; | |
| 15 } | |
| 16 | 13 |
| 17 namespace blimp { | 14 namespace blimp { |
| 18 namespace client { | 15 namespace client { |
| 19 | 16 |
| 20 // A Java counterpart will be generated for this enum. | 17 // A Java counterpart will be generated for this enum. |
| 21 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.blimp_public.session | 18 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.blimp_public.session |
| 22 enum AssignmentRequestResult { | 19 enum AssignmentRequestResult { |
| 23 ASSIGNMENT_REQUEST_RESULT_UNKNOWN = 0, | 20 ASSIGNMENT_REQUEST_RESULT_UNKNOWN = 0, |
| 24 ASSIGNMENT_REQUEST_RESULT_OK = 1, | 21 ASSIGNMENT_REQUEST_RESULT_OK = 1, |
| 25 ASSIGNMENT_REQUEST_RESULT_BAD_REQUEST = 2, | 22 ASSIGNMENT_REQUEST_RESULT_BAD_REQUEST = 2, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 std::string client_auth_token; | 58 std::string client_auth_token; |
| 62 | 59 |
| 63 // Specifies the engine's X.509 certificate. | 60 // Specifies the engine's X.509 certificate. |
| 64 scoped_refptr<net::X509Certificate> cert; | 61 scoped_refptr<net::X509Certificate> cert; |
| 65 }; | 62 }; |
| 66 | 63 |
| 67 } // namespace client | 64 } // namespace client |
| 68 } // namespace blimp | 65 } // namespace blimp |
| 69 | 66 |
| 70 #endif // BLIMP_CLIENT_PUBLIC_SESSION_ASSIGNMENT_H_ | 67 #endif // BLIMP_CLIENT_PUBLIC_SESSION_ASSIGNMENT_H_ |
| OLD | NEW |