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/content_password_manager_driver.h" | 5 #include "components/password_manager/content/browser/content_password_manager_d
river.h" |
6 | 6 |
7 #include "components/autofill/content/browser/autofill_driver_impl.h" | 7 #include "components/autofill/content/browser/autofill_driver_impl.h" |
8 #include "components/autofill/content/common/autofill_messages.h" | 8 #include "components/autofill/content/common/autofill_messages.h" |
9 #include "components/autofill/core/common/form_data.h" | 9 #include "components/autofill/core/common/form_data.h" |
10 #include "components/autofill/core/common/password_form.h" | 10 #include "components/autofill/core/common/password_form.h" |
11 #include "content/public/browser/browser_context.h" | 11 #include "content/public/browser/browser_context.h" |
12 #include "content/public/browser/navigation_details.h" | 12 #include "content/public/browser/navigation_details.h" |
13 #include "content/public/browser/navigation_entry.h" | 13 #include "content/public/browser/navigation_entry.h" |
14 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 IPC_END_MESSAGE_MAP() | 98 IPC_END_MESSAGE_MAP() |
99 | 99 |
100 return handled; | 100 return handled; |
101 } | 101 } |
102 | 102 |
103 autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() { | 103 autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() { |
104 autofill::AutofillDriverImpl* driver = | 104 autofill::AutofillDriverImpl* driver = |
105 autofill::AutofillDriverImpl::FromWebContents(web_contents()); | 105 autofill::AutofillDriverImpl::FromWebContents(web_contents()); |
106 return driver ? driver->autofill_manager() : NULL; | 106 return driver ? driver->autofill_manager() : NULL; |
107 } | 107 } |
OLD | NEW |