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

Unified Diff: blimp/client/core/android/java/src/org/chromium/blimp/core/settings/BlimpPreferencesDelegate.java

Issue 2261273002: Integrate UI with authentication flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Misc fixes/ 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/settings/BlimpPreferencesDelegate.java
diff --git a/blimp/client/core/android/java/src/org/chromium/blimp/core/settings/BlimpPreferencesDelegate.java b/blimp/client/core/android/java/src/org/chromium/blimp/core/settings/BlimpPreferencesDelegate.java
new file mode 100644
index 0000000000000000000000000000000000000000..4c25c3ac5caa0e589d30d97035c429eb79c9cf7d
--- /dev/null
+++ b/blimp/client/core/android/java/src/org/chromium/blimp/core/settings/BlimpPreferencesDelegate.java
@@ -0,0 +1,28 @@
+// 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.settings;
+
+import org.chromium.blimp_public.BlimpClientContextDelegate;
+
+/**
+ * BlimpPreferencesDelegate provides functionalities needed by preferences UX.
+ */
+public interface 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.
+ */
+ void initSettingsPage(AboutBlimpPreferences preferences);
+
+ /**
+ * Start authentication flow and connection to engine.
+ */
+ void connect();
+}

Powered by Google App Engine
This is Rietveld 408576698