OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_LOGIN_INFOBAR_DELEGATE_ANDROID_H
_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_LOGIN_INFOBAR_DELEGATE_ANDROID_H
_ |
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_LOGIN_INFOBAR_DELEGATE_ANDROID_H
_ | 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_LOGIN_INFOBAR_DELEGATE_ANDROID_H
_ |
7 | 7 |
8 #include "base/android/jni_helper.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "chrome/browser/ui/auto_login_infobar_delegate.h" | 10 #include "chrome/browser/ui/auto_login_infobar_delegate.h" |
11 | 11 |
12 class AutoLoginInfoBarDelegateAndroid : public AutoLoginInfoBarDelegate { | 12 class AutoLoginInfoBarDelegateAndroid : public AutoLoginInfoBarDelegate { |
13 public: | 13 public: |
14 AutoLoginInfoBarDelegateAndroid(const Params& params, Profile* profile); | 14 AutoLoginInfoBarDelegateAndroid(const Params& params, Profile* profile); |
15 virtual ~AutoLoginInfoBarDelegateAndroid(); | 15 virtual ~AutoLoginInfoBarDelegateAndroid(); |
16 | 16 |
17 // AutoLoginInfoBarDelegate: | 17 // AutoLoginInfoBarDelegate: |
18 virtual bool Accept() OVERRIDE; | 18 virtual bool Accept() OVERRIDE; |
(...skipping 16 matching lines...) Expand all Loading... |
35 | 35 |
36 JavaObjectWeakGlobalRef weak_java_auto_login_delegate_; | 36 JavaObjectWeakGlobalRef weak_java_auto_login_delegate_; |
37 std::string user_; | 37 std::string user_; |
38 const Params params_; | 38 const Params params_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(AutoLoginInfoBarDelegateAndroid); | 40 DISALLOW_COPY_AND_ASSIGN(AutoLoginInfoBarDelegateAndroid); |
41 }; | 41 }; |
42 | 42 |
43 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_LOGIN_INFOBAR_DELEGATE_ANDROI
D_H_ | 43 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_LOGIN_INFOBAR_DELEGATE_ANDROI
D_H_ |
44 | 44 |
OLD | NEW |