| 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 "components/autofill/content/browser/autofill_driver_impl.h" | 5 #include "components/autofill/content/browser/autofill_driver_impl.h" |
| 6 | 6 |
| 7 #include "components/autofill/browser/autofill_external_delegate.h" | 7 #include "components/autofill/core/browser/autofill_external_delegate.h" |
| 8 #include "components/autofill/browser/autofill_manager.h" | 8 #include "components/autofill/core/browser/autofill_manager.h" |
| 9 #include "components/autofill/browser/autofill_manager_delegate.h" | 9 #include "components/autofill/core/browser/autofill_manager_delegate.h" |
| 10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 const char kAutofillDriverImplWebContentsUserDataKey[] = | 16 const char kAutofillDriverImplWebContentsUserDataKey[] = |
| 17 "web_contents_autofill_driver_impl"; | 17 "web_contents_autofill_driver_impl"; |
| 18 | 18 |
| 19 } // namespace | 19 } // namespace |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 autofill_manager_.DidNavigateMainFrame(details, params); | 80 autofill_manager_.DidNavigateMainFrame(details, params); |
| 81 } | 81 } |
| 82 | 82 |
| 83 void AutofillDriverImpl::SetAutofillExternalDelegate( | 83 void AutofillDriverImpl::SetAutofillExternalDelegate( |
| 84 scoped_ptr<AutofillExternalDelegate> delegate) { | 84 scoped_ptr<AutofillExternalDelegate> delegate) { |
| 85 autofill_external_delegate_.reset(delegate.release()); | 85 autofill_external_delegate_.reset(delegate.release()); |
| 86 autofill_manager_.SetExternalDelegate(autofill_external_delegate_.get()); | 86 autofill_manager_.SetExternalDelegate(autofill_external_delegate_.get()); |
| 87 } | 87 } |
| 88 | 88 |
| 89 } // namespace autofill | 89 } // namespace autofill |
| OLD | NEW |