Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / android / snackbars / auto_signin_snackbar_controller.h
blob1e97ac1ca7e1104d60d7416948baf3558d40b52f
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.
5 #ifndef CHROME_BROWSER_UI_ANDROID_SNACKBARS_AUTO_SIGNIN_SNACKBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ANDROID_SNACKBARS_AUTO_SIGNIN_SNACKBAR_CONTROLLER_H_
8 #include <jni.h>
10 #include "base/strings/string16.h"
12 class TabAndroid;
14 // Shows an auto sign-in snackbar in order to inform the users that they were
15 // automatically signed in to the website. |username| is the username used by
16 // the user in order to login to the web site, it can be email, telephone number
17 // or any string.
18 void ShowAutoSigninSnackbar(TabAndroid *tab, const base::string16& username);
20 // Register native method.
21 bool RegisterAutoSigninSnackbarController(JNIEnv* env);
23 #endif // CHROME_BROWSER_UI_ANDROID_SNACKBARS_AUTO_SIGNIN_SNACKBAR_CONTROLLER_H_