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

Side by Side Diff: blimp/client/public/session/assignment.h

Issue 2322843002: Propagate connection info to Blimp android UI. (Closed)
Patch Set: git cl format.... Created 4 years, 3 months 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 unified diff | Download patch
OLDNEW
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"
David Trainor- moved to gerrit 2016/09/13 05:54:51 why remove forward declare?
xingliu 2016/09/13 18:36:15 Done.
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698