OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.chrome.browser.tab; |
| 6 |
| 7 /** |
| 8 * Handles intercepting navigation requests for an external authenticator applic
ation. |
| 9 */ |
| 10 public interface AuthenticatorNavigationInterceptor { |
| 11 /** |
| 12 * To be called by a Tab to check whether the passed in URL, which is about
to be loaded, |
| 13 * should be processed by an external Authenticator application. |
| 14 * |
| 15 * @param url the URL about to be loaded in the tab |
| 16 * @return True if the URL has been handled by the Authenticator, false if i
t hasn't and |
| 17 * should be processed normally by the Tab. |
| 18 */ |
| 19 boolean handleAuthenticatorUrl(String url); |
| 20 } |
OLD | NEW |