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

Side by Side Diff: chrome/browser/ui/passwords/password_manager_presenter.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/ui/passwords/password_manager_presenter.h" 5 #include "chrome/browser/ui/passwords/password_manager_presenter.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/password_manager/password_store_factory.h" 21 #include "chrome/browser/password_manager/password_store_factory.h"
22 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/signin/signin_manager_factory.h" 23 #include "chrome/browser/signin/signin_manager_factory.h"
24 #include "chrome/browser/sync/profile_sync_service_factory.h" 24 #include "chrome/browser/sync/profile_sync_service_factory.h"
25 #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h" 25 #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h"
26 #include "chrome/browser/ui/passwords/password_ui_view.h" 26 #include "chrome/browser/ui/passwords/password_ui_view.h"
27 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
28 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
29 #include "chrome/common/url_constants.h" 29 #include "chrome/common/url_constants.h"
30 #include "components/autofill/core/common/password_form.h" 30 #include "components/autofill/core/common/password_form.h"
31 #include "components/browser_sync/browser/profile_sync_service.h" 31 #include "components/browser_sync/profile_sync_service.h"
32 #include "components/password_manager/core/browser/affiliation_utils.h" 32 #include "components/password_manager/core/browser/affiliation_utils.h"
33 #include "components/password_manager/core/browser/import/password_importer.h" 33 #include "components/password_manager/core/browser/import/password_importer.h"
34 #include "components/password_manager/core/browser/password_ui_utils.h" 34 #include "components/password_manager/core/browser/password_ui_utils.h"
35 #include "components/password_manager/core/common/password_manager_pref_names.h" 35 #include "components/password_manager/core/common/password_manager_pref_names.h"
36 #include "components/password_manager/sync/browser/password_sync_util.h" 36 #include "components/password_manager/sync/browser/password_sync_util.h"
37 #include "components/prefs/pref_service.h" 37 #include "components/prefs/pref_service.h"
38 #include "content/public/browser/browser_thread.h" 38 #include "content/public/browser/browser_thread.h"
39 #include "content/public/browser/user_metrics.h" 39 #include "content/public/browser/user_metrics.h"
40 #include "content/public/browser/web_contents.h" 40 #include "content/public/browser/web_contents.h"
41 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 41 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 void PasswordManagerPresenter::PasswordExceptionListPopulater:: 386 void PasswordManagerPresenter::PasswordExceptionListPopulater::
387 OnGetPasswordStoreResults( 387 OnGetPasswordStoreResults(
388 std::vector<std::unique_ptr<autofill::PasswordForm>> results) { 388 std::vector<std::unique_ptr<autofill::PasswordForm>> results) {
389 page_->password_exception_list_ = std::move(results); 389 page_->password_exception_list_ = std::move(results);
390 page_->SortEntriesAndHideDuplicates(&page_->password_exception_list_, 390 page_->SortEntriesAndHideDuplicates(&page_->password_exception_list_,
391 &page_->password_exception_duplicates_, 391 &page_->password_exception_duplicates_,
392 PasswordEntryType::BLACKLISTED); 392 PasswordEntryType::BLACKLISTED);
393 page_->SetPasswordExceptionList(); 393 page_->SetPasswordExceptionList();
394 } 394 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/passwords/password_dialog_controller_impl.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698