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

Unified Diff: chrome/browser/autofill/autofill_metrics_unittest.cc

Issue 12091086: [Autofill] Add UMA timing metrics for requestAutocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase harder Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_metrics_unittest.cc
diff --git a/chrome/browser/autofill/autofill_metrics_unittest.cc b/chrome/browser/autofill/autofill_metrics_unittest.cc
index e7744a7e6197611b3e8c6472e493e25e35a79c0f..086c720740e3678c27633d2cd179254e911c3aed 100644
--- a/chrome/browser/autofill/autofill_metrics_unittest.cc
+++ b/chrome/browser/autofill/autofill_metrics_unittest.cc
@@ -262,7 +262,7 @@ class TestAutofillManager : public AutofillManager {
DISALLOW_COPY_AND_ASSIGN(TestAutofillManager);
};
-class TestAutocheckoutManager : public AutocheckoutManager {
+class TestAutocheckoutManager : public autofill::AutocheckoutManager {
public:
explicit TestAutocheckoutManager(AutofillManager* autofill_manager)
: AutocheckoutManager(autofill_manager) {
@@ -335,11 +335,11 @@ void AutofillMetricsTest::SetUp() {
ChromeRenderViewHostTestHarness::SetUp();
io_thread_.StartIOThread();
- TabAutofillManagerDelegate::CreateForWebContents(web_contents());
+ autofill::TabAutofillManagerDelegate::CreateForWebContents(web_contents());
personal_data_.SetBrowserContext(profile);
autofill_manager_ = new TestAutofillManager(
web_contents(),
- TabAutofillManagerDelegate::FromWebContents(web_contents()),
+ autofill::TabAutofillManagerDelegate::FromWebContents(web_contents()),
&personal_data_);
file_thread_.Start();
@@ -389,7 +389,7 @@ AutofillMetricsTest::CreateAutocheckoutDelegate(
LogAutocheckoutInfoBarMetric(AutofillMetrics::INFOBAR_SHOWN));
GURL url("www.google.com");
content::SSLStatus ssl_status;
- return AutocheckoutInfoBarDelegate::Create(
+ return autofill::AutocheckoutInfoBarDelegate::Create(
*metric_logger,
url,
ssl_status,
« no previous file with comments | « chrome/browser/autofill/autofill_metrics.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698