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

Side by Side Diff: chrome/browser/ui/android/snackbars/auto_signin_snackbar_controller.h

Issue 1234063002: [Smart Lock] Auto sign-in snackbar UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on top of master Created 5 years, 4 months 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
(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 #ifndef CHROME_BROWSER_UI_ANDROID_SNACKBARS_AUTO_SIGNIN_SNACKBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ANDROID_SNACKBARS_AUTO_SIGNIN_SNACKBAR_CONTROLLER_H_
7
8 #include <jni.h>
9
10 #include "base/android/scoped_java_ref.h"
11 #include "base/strings/string16.h"
12
13 namespace autofill {
14 struct PasswordForm;
15 }
16
17 class TabAndroid;
18
19 class AutoSigninSnackbarController {
newt (away) 2015/08/21 05:40:39 It appears you don't actually need a native AutoSi
melandory 2015/08/21 09:41:15 Done.
20 public:
21 explicit AutoSigninSnackbarController(TabAndroid *tab);
22 ~AutoSigninSnackbarController();
23
24 void onShow(const base::string16 &username);
25
26 void Destroy(JNIEnv *env, jobject obj);
27
28 private:
29 base::android::ScopedJavaGlobalRef<jobject> java_snackbar_controller_;
30 };
31
32 // Registers native methods.
33 bool RegisterAutoSigninSnackbarController(JNIEnv *env);
34
35 #endif // CHROME_BROWSER_UI_ANDROID_SNACKBARS_AUTO_SIGNIN_SNACKBAR_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698