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" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
13 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "base/prefs/pref_service.h" | 15 #include "base/prefs/pref_service.h" |
| 16 #include "build/build_config.h" |
16 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 17 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
17 #include "chrome/browser/password_manager/password_store_factory.h" | 18 #include "chrome/browser/password_manager/password_store_factory.h" |
18 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/signin/signin_manager_factory.h" | 20 #include "chrome/browser/signin/signin_manager_factory.h" |
20 #include "chrome/browser/sync/profile_sync_service_factory.h" | 21 #include "chrome/browser/sync/profile_sync_service_factory.h" |
21 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h
" | 22 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h
" |
22 #include "chrome/browser/ui/passwords/passwords_client_ui_delegate.h" | 23 #include "chrome/browser/ui/passwords/passwords_client_ui_delegate.h" |
23 #include "chrome/common/channel_info.h" | 24 #include "chrome/common/channel_info.h" |
24 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
25 #include "chrome/common/features.h" | 26 #include "chrome/common/features.h" |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 | 542 |
542 const password_manager::CredentialsFilter* | 543 const password_manager::CredentialsFilter* |
543 ChromePasswordManagerClient::GetStoreResultFilter() const { | 544 ChromePasswordManagerClient::GetStoreResultFilter() const { |
544 return &credentials_filter_; | 545 return &credentials_filter_; |
545 } | 546 } |
546 | 547 |
547 const password_manager::LogManager* ChromePasswordManagerClient::GetLogManager() | 548 const password_manager::LogManager* ChromePasswordManagerClient::GetLogManager() |
548 const { | 549 const { |
549 return log_manager_.get(); | 550 return log_manager_.get(); |
550 } | 551 } |
OLD | NEW |