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

Side by Side Diff: chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #include "base/memory/ptr_util.h"
5 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
6 #include "chrome/browser/password_manager/chrome_password_manager_client.h" 7 #include "chrome/browser/password_manager/chrome_password_manager_client.h"
7 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" 10 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 11 #include "chrome/browser/ui/tabs/tab_strip_model.h"
11 #include "chrome/browser/ui/views/frame/browser_view.h" 12 #include "chrome/browser/ui/views/frame/browser_view.h"
12 #include "chrome/browser/ui/views/passwords/account_chooser_dialog_view.h" 13 #include "chrome/browser/ui/views/passwords/account_chooser_dialog_view.h"
13 #include "chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h" 14 #include "chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h"
14 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 password_manager::prefs::kCredentialsEnableAutosignin, true); 459 password_manager::prefs::kCredentialsEnableAutosignin, true);
459 460
460 // Successful login with the same form after block will prompt: 461 // Successful login with the same form after block will prompt:
461 blocked_form.reset(new autofill::PasswordForm(form)); 462 blocked_form.reset(new autofill::PasswordForm(form));
462 client()->NotifyUserCouldBeAutoSignedIn(std::move(blocked_form)); 463 client()->NotifyUserCouldBeAutoSignedIn(std::move(blocked_form));
463 client()->NotifySuccessfulLoginWithExistingPassword(form); 464 client()->NotifySuccessfulLoginWithExistingPassword(form);
464 ASSERT_TRUE(controller()->current_autosignin_prompt()); 465 ASSERT_TRUE(controller()->current_autosignin_prompt());
465 } 466 }
466 467
467 } // namespace 468 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698