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

Side by Side Diff: blimp/client/app/android/java/src/org/chromium/blimp/app/auth/TokenSource.java

Issue 2493333002: Move Java Blimp shell code to app subpackage (Closed)
Patch Set: Merge branch 'refs/heads/master' into blimp-shell-integration Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.blimp.auth; 5 package org.chromium.blimp.app.auth;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 8
9 import com.google.android.gms.common.ConnectionResult; 9 import com.google.android.gms.common.ConnectionResult;
10 10
11 /** 11 /**
12 * Interface for an object that can asynchronously retrieve and invalidate user authentication 12 * Interface for an object that can asynchronously retrieve and invalidate user authentication
13 * tokens. 13 * tokens.
14 */ 14 */
15 public interface TokenSource { 15 public interface TokenSource {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 int tokenIsInvalid(String token); 80 int tokenIsInvalid(String token);
81 81
82 /** 82 /**
83 * Notifies this {@link TokenSource} of a response from the {@link Intent} s ent through 83 * Notifies this {@link TokenSource} of a response from the {@link Intent} s ent through
84 * {@link Callback#onNeedsAccountToBeSelected(Intent)}. The selected accoun t will be parsed and 84 * {@link Callback#onNeedsAccountToBeSelected(Intent)}. The selected accoun t will be parsed and
85 * saved. This won't automatically trigger another {@link #getToken()} atte mpt. 85 * saved. This won't automatically trigger another {@link #getToken()} atte mpt.
86 * @param data The response {@link Intent} data. 86 * @param data The response {@link Intent} data.
87 */ 87 */
88 void onAccountSelected(Intent data); 88 void onAccountSelected(Intent data);
89 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698