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

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

Issue 1842403003: Added Version Info page to toolbar menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@toolbar_menu
Patch Set: Addressed review comments Created 4 years, 8 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 19 matching lines...) Expand all
30 void Connect(JNIEnv* env, 30 void Connect(JNIEnv* env,
31 const base::android::JavaParamRef<jobject>& jobj, 31 const base::android::JavaParamRef<jobject>& jobj,
32 const base::android::JavaParamRef<jstring>& jclient_auth_token); 32 const base::android::JavaParamRef<jstring>& jclient_auth_token);
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( 40 void OnAssignmentConnectionAttempted(AssignmentSource::Result result,
41 AssignmentSource::Result result) override; 41 const Assignment& assignment) override;
42 42
43 // NetworkEventObserver implementation. 43 // NetworkEventObserver implementation.
44 void OnConnected() override; 44 void OnConnected() override;
45 void OnDisconnected(int error_code) override; 45 void OnDisconnected(int error_code) override;
46 46
47 // Reference to the Java object which owns this class. 47 // Reference to the Java object which owns this class.
48 base::android::ScopedJavaGlobalRef<jobject> java_obj_; 48 base::android::ScopedJavaGlobalRef<jobject> java_obj_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionAndroid); 50 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionAndroid);
51 }; 51 };
52 52
53 } // namespace client 53 } // namespace client
54 } // namespace blimp 54 } // namespace blimp
55 55
56 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ 56 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_
OLDNEW
« no previous file with comments | « blimp/client/app/android/AndroidManifest.xml.jinja2 ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698