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

Unified Diff: chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc

Issue 2869683003: Views/Harmony: Remove references to layout constants in c/b/u/v/passwords. (Closed)
Patch Set: Created 3 years, 7 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/views/passwords/password_dialog_view_browsertest.cc
diff --git a/chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc b/chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc
index fc6b2e90c7c023e6ed7d62ed26ff6e477b89ac8a..05746e93b59af33f1dcc301f5ac2c3a26216eb20 100644
--- a/chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc
+++ b/chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc
@@ -469,6 +469,11 @@ IN_PROC_BROWSER_TEST_F(PasswordDialogViewTest,
// DialogBrowserTest methods for interactive dialog invocation.
void PasswordDialogViewTest::ShowDialog(const std::string& name) {
+ if (name == "AutoSigninFirstRun") {
+ controller()->OnPromptEnableAutoSignin();
tapted 2017/05/10 05:30:12 make sure there's no path that results in a messag
Patti Lor 2017/05/11 06:59:19 Looks OK, thanks for the FYI :)
+ return;
+ }
+
GURL origin("https://example.com");
std::vector<std::unique_ptr<autofill::PasswordForm>> local_credentials;
autofill::PasswordForm form;
@@ -504,4 +509,9 @@ IN_PROC_BROWSER_TEST_F(
RunDialog();
}
+IN_PROC_BROWSER_TEST_F(PasswordDialogViewTest,
+ InvokeDialog_AutoSigninFirstRun) {
+ RunDialog();
+}
+
} // namespace

Powered by Google App Engine
This is Rietveld 408576698