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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/infobar/AutoLoginProcessor.java

Issue 24109002: [InfoBar] Upstram basic infobar flow for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upstream_infobar_full
Patch Set: Fix License header in two more files Created 7 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: chrome/android/java/src/org/chromium/chrome/browser/infobar/AutoLoginProcessor.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/AutoLoginProcessor.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/AutoLoginProcessor.java
new file mode 100644
index 0000000000000000000000000000000000000000..67b07e54801a802f27ba4ab7e9eb954c82239955
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/AutoLoginProcessor.java
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 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.chrome.browser.infobar;
+
+/**
+ * Process the result of an autologin.
+ */
+public interface AutoLoginProcessor {
+
+ /**
+ * Process the result of an autologin.
+ *
+ * @param accountName The name of the account request is being accessed for.
+ * @param authToken The authentication token access is being requested for.
+ * @param success Whether or not the authentication attempt was successful.
+ * @param result The resulting token for the auto login request
+ */
+ public void processAutoLoginResult(
+ String accountName, String authToken, boolean success, String result);
+}

Powered by Google App Engine
This is Rietveld 408576698