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 <string> | 5 #include <string> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" | 28 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" |
29 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 29 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
30 #include "chrome/common/channel_info.h" | 30 #include "chrome/common/channel_info.h" |
31 #include "chrome/common/chrome_paths.h" | 31 #include "chrome/common/chrome_paths.h" |
32 #include "chrome/common/chrome_switches.h" | 32 #include "chrome/common/chrome_switches.h" |
33 #include "chrome/test/base/ui_test_utils.h" | 33 #include "chrome/test/base/ui_test_utils.h" |
34 #include "components/autofill/content/common/autofill_messages.h" | 34 #include "components/autofill/content/common/autofill_messages.h" |
35 #include "components/autofill/core/browser/autofill_test_utils.h" | 35 #include "components/autofill/core/browser/autofill_test_utils.h" |
36 #include "components/autofill/core/browser/test_autofill_client.h" | 36 #include "components/autofill/core/browser/test_autofill_client.h" |
37 #include "components/autofill/core/common/password_form.h" | 37 #include "components/autofill/core/common/password_form.h" |
| 38 #include "components/network_session_configurator/switches.h" |
38 #include "components/password_manager/content/browser/content_password_manager_d
river.h" | 39 #include "components/password_manager/content/browser/content_password_manager_d
river.h" |
39 #include "components/password_manager/content/browser/content_password_manager_d
river_factory.h" | 40 #include "components/password_manager/content/browser/content_password_manager_d
river_factory.h" |
40 #include "components/password_manager/core/browser/login_model.h" | 41 #include "components/password_manager/core/browser/login_model.h" |
41 #include "components/password_manager/core/browser/test_password_store.h" | 42 #include "components/password_manager/core/browser/test_password_store.h" |
42 #include "components/password_manager/core/common/password_manager_features.h" | 43 #include "components/password_manager/core/common/password_manager_features.h" |
43 #include "components/version_info/version_info.h" | 44 #include "components/version_info/version_info.h" |
44 #include "content/public/browser/navigation_controller.h" | 45 #include "content/public/browser/navigation_controller.h" |
45 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
46 #include "content/public/browser/render_frame_host.h" | 47 #include "content/public/browser/render_frame_host.h" |
47 #include "content/public/browser/render_process_host.h" | 48 #include "content/public/browser/render_process_host.h" |
(...skipping 2974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3022 // about all frames, not just the main one. The factories should receive | 3023 // about all frames, not just the main one. The factories should receive |
3023 // messages for non-main frames, in particular | 3024 // messages for non-main frames, in particular |
3024 // AutofillHostMsg_PasswordFormsParsed. If that were the first time the | 3025 // AutofillHostMsg_PasswordFormsParsed. If that were the first time the |
3025 // factories hear about such frames, this would crash. | 3026 // factories hear about such frames, this would crash. |
3026 tab_strip_model->AddWebContents(detached_web_contents.release(), -1, | 3027 tab_strip_model->AddWebContents(detached_web_contents.release(), -1, |
3027 ::ui::PAGE_TRANSITION_AUTO_TOPLEVEL, | 3028 ::ui::PAGE_TRANSITION_AUTO_TOPLEVEL, |
3028 TabStripModel::ADD_ACTIVE); | 3029 TabStripModel::ADD_ACTIVE); |
3029 } | 3030 } |
3030 | 3031 |
3031 } // namespace password_manager | 3032 } // namespace password_manager |
OLD | NEW |