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

Unified Diff: blimp/client/core/android/blimp_client_context_impl_android.cc

Issue 2322843002: Propagate connection info to Blimp android UI. (Closed)
Patch Set: Merge conflicts. 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/android/blimp_client_context_impl_android.cc
diff --git a/blimp/client/core/android/blimp_client_context_impl_android.cc b/blimp/client/core/android/blimp_client_context_impl_android.cc
index f718b28b8c1a1d2971fc88e8cb67455cb43a6d08..fe3cb3ee8ec8eb70abc33d4c438bdda3b84010ec 100644
--- a/blimp/client/core/android/blimp_client_context_impl_android.cc
+++ b/blimp/client/core/android/blimp_client_context_impl_android.cc
@@ -103,8 +103,10 @@ void BlimpClientContextImplAndroid::InitSettingsPage(
const base::android::JavaRef<jobject>& blimp_settings) {
BlimpSettingsAndroid* settings_android =
BlimpSettingsAndroid::FromJavaObject(env, blimp_settings);
+ DCHECK(settings_android);
- settings_android->SetIdentitySource(GetIdentitySource());
+ // Set the delegate for settings.
+ settings_android->SetDelegate(this);
}
} // namespace client

Powered by Google App Engine
This is Rietveld 408576698