| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 11 #include "chrome/browser/api/webdata/web_data_results.h" |
| 11 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" | 12 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" |
| 12 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 13 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 13 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" | 14 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" |
| 14 #include "chrome/browser/webdata/web_data_service.h" | |
| 15 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 15 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 16 #include "chrome/test/base/testing_profile.h" | 16 #include "chrome/test/base/testing_profile.h" |
| 17 #include "components/autofill/browser/autocheckout_page_meta_data.h" | 17 #include "components/autofill/browser/autocheckout_page_meta_data.h" |
| 18 #include "components/autofill/browser/autofill_common_test.h" | 18 #include "components/autofill/browser/autofill_common_test.h" |
| 19 #include "components/autofill/browser/autofill_manager.h" | 19 #include "components/autofill/browser/autofill_manager.h" |
| 20 #include "components/autofill/browser/autofill_manager_delegate.h" | 20 #include "components/autofill/browser/autofill_manager_delegate.h" |
| 21 #include "components/autofill/browser/autofill_metrics.h" | 21 #include "components/autofill/browser/autofill_metrics.h" |
| 22 #include "components/autofill/browser/personal_data_manager.h" | 22 #include "components/autofill/browser/personal_data_manager.h" |
| 23 #include "components/autofill/common/form_data.h" | 23 #include "components/autofill/common/form_data.h" |
| 24 #include "components/autofill/common/form_field_data.h" | 24 #include "components/autofill/common/form_field_data.h" |
| (...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1577 forms, TimeTicks::FromInternalValue(1), false); | 1577 forms, TimeTicks::FromInternalValue(1), false); |
| 1578 autofill_manager_->OnDidFillAutofillFormData( | 1578 autofill_manager_->OnDidFillAutofillFormData( |
| 1579 TimeTicks::FromInternalValue(5)); | 1579 TimeTicks::FromInternalValue(5)); |
| 1580 autofill_manager_->OnTextFieldDidChange(form, form.fields.front(), | 1580 autofill_manager_->OnTextFieldDidChange(form, form.fields.front(), |
| 1581 TimeTicks::FromInternalValue(3)); | 1581 TimeTicks::FromInternalValue(3)); |
| 1582 autofill_manager_->FormSubmitted(form, TimeTicks::FromInternalValue(17)); | 1582 autofill_manager_->FormSubmitted(form, TimeTicks::FromInternalValue(17)); |
| 1583 autofill_manager_->Reset(); | 1583 autofill_manager_->Reset(); |
| 1584 Mock::VerifyAndClearExpectations(autofill_manager_->metric_logger()); | 1584 Mock::VerifyAndClearExpectations(autofill_manager_->metric_logger()); |
| 1585 } | 1585 } |
| 1586 } | 1586 } |
| OLD | NEW |