Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: components/autofill/core/browser/autofill_metrics_unittest.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" 12 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
13 #include "chrome/browser/autofill/personal_data_manager_factory.h" 13 #include "chrome/browser/autofill/personal_data_manager_factory.h"
14 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" 14 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.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/autofill_common_test.h"
18 #include "components/autofill/browser/autofill_manager.h"
19 #include "components/autofill/browser/autofill_manager_delegate.h"
20 #include "components/autofill/browser/autofill_metrics.h"
21 #include "components/autofill/browser/personal_data_manager.h"
22 #include "components/autofill/browser/test_autofill_driver.h"
23 #include "components/autofill/content/browser/autocheckout_page_meta_data.h" 17 #include "components/autofill/content/browser/autocheckout_page_meta_data.h"
18 #include "components/autofill/core/browser/autofill_common_test.h"
19 #include "components/autofill/core/browser/autofill_manager.h"
20 #include "components/autofill/core/browser/autofill_manager_delegate.h"
21 #include "components/autofill/core/browser/autofill_metrics.h"
22 #include "components/autofill/core/browser/personal_data_manager.h"
23 #include "components/autofill/core/browser/test_autofill_driver.h"
24 #include "components/autofill/core/common/form_data.h" 24 #include "components/autofill/core/common/form_data.h"
25 #include "components/autofill/core/common/form_field_data.h" 25 #include "components/autofill/core/common/form_field_data.h"
26 #include "components/autofill/core/common/forms_seen_state.h" 26 #include "components/autofill/core/common/forms_seen_state.h"
27 #include "components/webdata/common/web_data_results.h" 27 #include "components/webdata/common/web_data_results.h"
28 #include "content/public/test/test_utils.h" 28 #include "content/public/test/test_utils.h"
29 #include "googleurl/src/gurl.h" 29 #include "googleurl/src/gurl.h"
30 #include "testing/gmock/include/gmock/gmock.h" 30 #include "testing/gmock/include/gmock/gmock.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
32 #include "ui/gfx/rect.h" 32 #include "ui/gfx/rect.h"
33 33
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 TimeTicks::FromInternalValue(5)); 1550 TimeTicks::FromInternalValue(5));
1551 autofill_manager_->OnTextFieldDidChange(form, form.fields.front(), 1551 autofill_manager_->OnTextFieldDidChange(form, form.fields.front(),
1552 TimeTicks::FromInternalValue(3)); 1552 TimeTicks::FromInternalValue(3));
1553 autofill_manager_->FormSubmitted(form, TimeTicks::FromInternalValue(17)); 1553 autofill_manager_->FormSubmitted(form, TimeTicks::FromInternalValue(17));
1554 autofill_manager_->Reset(); 1554 autofill_manager_->Reset();
1555 Mock::VerifyAndClearExpectations(autofill_manager_->metric_logger()); 1555 Mock::VerifyAndClearExpectations(autofill_manager_->metric_logger());
1556 } 1556 }
1557 } 1557 }
1558 1558
1559 } // namespace autofill 1559 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.cc ('k') | components/autofill/core/browser/autofill_popup_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698