- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / android / java / src / org / chromium / chrome / browser / infobar / AutoLoginProcessor.java
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.infobar;
6
7 /**
8  * Process the result of an autologin.
9  */
10 public interface AutoLoginProcessor {
11
12     /**
13      * Process the result of an autologin.
14      *
15      * @param accountName The name of the account request is being accessed for.
16      * @param authToken The authentication token access is being requested for.
17      * @param success Whether or not the authentication attempt was successful.
18      * @param result The resulting token for the auto login request
19      */
20     public void processAutoLoginResult(
21             String accountName, String authToken, boolean success, String result);
22 }