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); |
+} |