| OLD | NEW |
| 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/webui/options/password_manager_handler.h" | 5 #include "chrome/browser/ui/webui/options/password_manager_handler.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
| 22 #include "chrome/browser/chrome_notification_types.h" | 22 #include "chrome/browser/chrome_notification_types.h" |
| 23 #include "chrome/browser/password_manager/password_store_factory.h" | 23 #include "chrome/browser/password_manager/password_store_factory.h" |
| 24 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
| 25 #include "chrome/browser/sync/profile_sync_service_factory.h" | 25 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 26 #include "chrome/browser/ui/chrome_select_file_policy.h" | 26 #include "chrome/browser/ui/chrome_select_file_policy.h" |
| 27 #include "chrome/common/pref_names.h" | 27 #include "chrome/common/pref_names.h" |
| 28 #include "chrome/common/url_constants.h" | 28 #include "chrome/common/url_constants.h" |
| 29 #include "chrome/grit/generated_resources.h" | 29 #include "chrome/grit/generated_resources.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/export/password_exporter.h" | 32 #include "components/password_manager/core/browser/export/password_exporter.h" |
| 33 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 33 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 34 #include "components/password_manager/core/browser/password_manager_constants.h" | 34 #include "components/password_manager/core/browser/password_manager_constants.h" |
| 35 #include "components/password_manager/core/browser/password_store.h" | 35 #include "components/password_manager/core/browser/password_store.h" |
| 36 #include "components/password_manager/core/browser/password_ui_utils.h" | 36 #include "components/password_manager/core/browser/password_ui_utils.h" |
| 37 #include "components/password_manager/core/common/experiments.h" | 37 #include "components/password_manager/core/common/experiments.h" |
| 38 #include "components/password_manager/core/common/password_manager_features.h" | 38 #include "components/password_manager/core/common/password_manager_features.h" |
| 39 #include "components/prefs/pref_service.h" | 39 #include "components/prefs/pref_service.h" |
| 40 #include "components/strings/grit/components_strings.h" | 40 #include "components/strings/grit/components_strings.h" |
| 41 #include "components/url_formatter/url_formatter.h" | 41 #include "components/url_formatter/url_formatter.h" |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 password_manager_presenter_->GetAllPasswords(); | 408 password_manager_presenter_->GetAllPasswords(); |
| 409 UMA_HISTOGRAM_COUNTS("PasswordManager.ExportedPasswordsPerUserInCSV", | 409 UMA_HISTOGRAM_COUNTS("PasswordManager.ExportedPasswordsPerUserInCSV", |
| 410 password_list.size()); | 410 password_list.size()); |
| 411 password_manager::PasswordExporter::Export( | 411 password_manager::PasswordExporter::Export( |
| 412 path, password_list, content::BrowserThread::GetTaskRunnerForThread( | 412 path, password_list, content::BrowserThread::GetTaskRunnerForThread( |
| 413 content::BrowserThread::FILE) | 413 content::BrowserThread::FILE) |
| 414 .get()); | 414 .get()); |
| 415 } | 415 } |
| 416 | 416 |
| 417 } // namespace options | 417 } // namespace options |
| OLD | NEW |