Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / android / infobars / save_password_infobar.h
bloba791443ff48271270c76923d5afe1487f429a3dd
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_INFOBARS_SAVE_PASSWORD_INFOBAR_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_SAVE_PASSWORD_INFOBAR_H_
8 #include "chrome/browser/password_manager/save_password_infobar_delegate.h"
9 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
11 // The Android infobar that offers the user the ability to save a password
12 // for the site.
13 class SavePasswordInfoBar : public ConfirmInfoBar {
14 public:
15 explicit SavePasswordInfoBar(
16 scoped_ptr<SavePasswordInfoBarDelegate> delegate);
18 ~SavePasswordInfoBar() override;
20 static bool Register(JNIEnv* env);
22 private:
23 // ConfirmInfoBar:
24 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
25 JNIEnv* env) override;
27 DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBar);
31 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_SAVE_PASSWORD_INFOBAR_H_