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

Side by Side Diff: blimp/client/app/android/blimp_client_session_android.h

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ 5 #ifndef BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_
6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ 6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "blimp/client/session/blimp_client_session.h" 10 #include "blimp/client/session/blimp_client_session.h"
(...skipping 22 matching lines...) Expand all
33 33
34 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj); 34 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
35 35
36 private: 36 private:
37 ~BlimpClientSessionAndroid() override; 37 ~BlimpClientSessionAndroid() override;
38 38
39 // BlimpClientSession implementation. 39 // BlimpClientSession implementation.
40 void OnAssignmentConnectionAttempted(AssignmentSource::Result result, 40 void OnAssignmentConnectionAttempted(AssignmentSource::Result result,
41 const Assignment& assignment) override; 41 const Assignment& assignment) override;
42 42
43 void OnPacketReceived(int bytes) override;
44 void OnPacketSent(int bytes) override;
45
43 // NetworkEventObserver implementation. 46 // NetworkEventObserver implementation.
44 void OnConnected() override; 47 void OnConnected() override;
45 void OnDisconnected(int error_code) override; 48 void OnDisconnected(int error_code) override;
46 49
47 // Reference to the Java object which owns this class. 50 // Reference to the Java object which owns this class.
48 base::android::ScopedJavaGlobalRef<jobject> java_obj_; 51 base::android::ScopedJavaGlobalRef<jobject> java_obj_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionAndroid); 53 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionAndroid);
51 }; 54 };
52 55
53 } // namespace client 56 } // namespace client
54 } // namespace blimp 57 } // namespace blimp
55 58
56 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ 59 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698