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

Unified Diff: chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h

Issue 1670673004: Revert "[Smart Lock, UI] First run expience for Auto sign-in prompt." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h
diff --git a/chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h b/chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h
deleted file mode 100644
index e905e1a2084fa0490f982417aee76d37411572c8..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_SIGNIN_FIRST_RUN_INFOBAR_H_
-#define CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_SIGNIN_FIRST_RUN_INFOBAR_H_
-
-#include "base/macros.h"
-#include "chrome/browser/password_manager/auto_signin_first_run_infobar_delegate.h"
-#include "chrome/browser/ui/android/infobars/confirm_infobar.h"
-
-// The Android infobar that offers the user the ability to save a password
-// for the site.
-class AutoSigninFirstRunInfoBar : public ConfirmInfoBar {
- public:
- explicit AutoSigninFirstRunInfoBar(
- scoped_ptr<AutoSigninFirstRunInfoBarDelegate> delegate);
-
- ~AutoSigninFirstRunInfoBar() override;
-
- static bool Register(JNIEnv* env);
-
- private:
- // ConfirmInfoBar:
- base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
- JNIEnv* env) override;
- void OnLinkClicked(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& obj) override;
-
- DISALLOW_COPY_AND_ASSIGN(AutoSigninFirstRunInfoBar);
-};
-
-#endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_SIGNIN_FIRST_RUN_INFOBAR_H_

Powered by Google App Engine
This is Rietveld 408576698