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

Side by Side Diff: chrome/browser/ui/android/infobars/autofill_assist_infobar.h

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed more comments Created 4 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 2016 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_INFOBARS_AUTOFILL_ASSIST_INFOBAR_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTOFILL_ASSIST_INFOBAR_H_
7
8 #include <jni.h>
9
10 #include <memory>
11
12 #include "base/macros.h"
13 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
14
15 namespace autofill {
16 class AutofillAssistInfoBarDelegateMobile;
17 }
18
19 // Android implementation of the infobar for saving credit card information.
Peter Kasting 2016/07/29 21:26:34 Nit: Prefer to give more detail about what this in
Mathieu 2016/08/01 22:16:57 Done.
20 class AutofillAssistInfoBar : public ConfirmInfoBar {
21 public:
22 explicit AutofillAssistInfoBar(
23 std::unique_ptr<autofill::AutofillAssistInfoBarDelegateMobile> delegate);
24 ~AutofillAssistInfoBar() override;
25
26 // Registers the JNI bindings.
27 static bool Register(JNIEnv* env);
28
29 private:
30 // ConfirmInfoBar:
31 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
32 JNIEnv* env) override;
33
34 DISALLOW_COPY_AND_ASSIGN(AutofillAssistInfoBar);
35 };
36
37 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTOFILL_ASSIST_INFOBAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698