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

Unified Diff: blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java

Issue 2261273002: Integrate UI with authentication flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Misc fix. Created 4 years, 4 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/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java
diff --git a/blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java b/blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java
new file mode 100644
index 0000000000000000000000000000000000000000..71277e638e78bb9c43146442e84bff7dbb1bb429
--- /dev/null
+++ b/blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java
@@ -0,0 +1,30 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.blimp.core.common;
+
+import org.chromium.blimp_public.BlimpClientContextDelegate;
+
+/**
+ * BlimpClientContextInternal is a Blimp internal interface used for decoupling internal build
+ * components from blimp/client/core/context target.
+ * This interface can depends on any Blimp targets except context_java.
+ *
+ * For example, classes can't depends on BlimpClientContextImpl can get the
+ * {@link BlimpClientContextDelegate} through this interface.
+ */
+public interface BlimpClientContextInternal {
David Trainor- moved to gerrit 2016/08/29 05:12:24 The Java AboutBlimpPreferences class still uses Bl
xingliu 2016/08/30 04:47:42 Changed it to BlimpPreferencesDelegate.
+ /**
+ * @return The {@link BlimpClientContextDelegate} that contains embedder functionalities.
+ */
+ BlimpClientContextDelegate getDelegate();
+
+ /**
+ * Initialize setting page.
+ * Setup all helper objects that the setting page needs, such as IdentitySource in native code.
+ *
+ * @param nativeBlimpSettingsAndroid Native pointer of AboutBlimpPreferences.
+ */
+ void initSettingsPage(long nativeBlimpSettingsAndroid);
+}

Powered by Google App Engine
This is Rietveld 408576698