| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/password_manager/chrome_password_manager_client.h" | 5 #include "chrome/browser/password_manager/chrome_password_manager_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "components/password_manager/core/common/password_manager_pref_names.h" | 46 #include "components/password_manager/core/common/password_manager_pref_names.h" |
| 47 #include "components/password_manager/core/common/password_manager_switches.h" | 47 #include "components/password_manager/core/common/password_manager_switches.h" |
| 48 #include "components/password_manager/sync/browser/password_sync_util.h" | 48 #include "components/password_manager/sync/browser/password_sync_util.h" |
| 49 #include "components/signin/core/browser/signin_manager.h" | 49 #include "components/signin/core/browser/signin_manager.h" |
| 50 #include "components/version_info/version_info.h" | 50 #include "components/version_info/version_info.h" |
| 51 #include "content/public/browser/navigation_entry.h" | 51 #include "content/public/browser/navigation_entry.h" |
| 52 #include "content/public/browser/render_view_host.h" | 52 #include "content/public/browser/render_view_host.h" |
| 53 #include "content/public/browser/web_contents.h" | 53 #include "content/public/browser/web_contents.h" |
| 54 #include "google_apis/gaia/gaia_urls.h" | 54 #include "google_apis/gaia/gaia_urls.h" |
| 55 #include "net/base/url_util.h" | 55 #include "net/base/url_util.h" |
| 56 #include "third_party/re2/re2/re2.h" | 56 #include "third_party/re2/src/re2/re2.h" |
| 57 | 57 |
| 58 #if defined(OS_MACOSX) || BUILDFLAG(ANDROID_JAVA_UI) | 58 #if defined(OS_MACOSX) || BUILDFLAG(ANDROID_JAVA_UI) |
| 59 #include "chrome/browser/password_manager/save_password_infobar_delegate.h" | 59 #include "chrome/browser/password_manager/save_password_infobar_delegate.h" |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 #if BUILDFLAG(ANDROID_JAVA_UI) | 62 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 63 #include "chrome/browser/android/tab_android.h" | 63 #include "chrome/browser/android/tab_android.h" |
| 64 #include "chrome/browser/password_manager/account_chooser_dialog_android.h" | 64 #include "chrome/browser/password_manager/account_chooser_dialog_android.h" |
| 65 #include "chrome/browser/password_manager/generated_password_saved_infobar_deleg
ate_android.h" | 65 #include "chrome/browser/password_manager/generated_password_saved_infobar_deleg
ate_android.h" |
| 66 #include "chrome/browser/ui/android/snackbars/auto_signin_prompt_controller.h" | 66 #include "chrome/browser/ui/android/snackbars/auto_signin_prompt_controller.h" |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 | 541 |
| 542 const password_manager::CredentialsFilter* | 542 const password_manager::CredentialsFilter* |
| 543 ChromePasswordManagerClient::GetStoreResultFilter() const { | 543 ChromePasswordManagerClient::GetStoreResultFilter() const { |
| 544 return &credentials_filter_; | 544 return &credentials_filter_; |
| 545 } | 545 } |
| 546 | 546 |
| 547 const password_manager::LogManager* ChromePasswordManagerClient::GetLogManager() | 547 const password_manager::LogManager* ChromePasswordManagerClient::GetLogManager() |
| 548 const { | 548 const { |
| 549 return log_manager_.get(); | 549 return log_manager_.get(); |
| 550 } | 550 } |
| OLD | NEW |