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

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: Re-upload... 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 0141830e4ce215f3dddf3b1239e6605b77629995..bfcf24188d84b08e94716905149567df3ae4b7bc 100644
--- a/chrome/browser/autofill/autofill_metrics_unittest.cc
+++ b/chrome/browser/autofill/autofill_metrics_unittest.cc
@@ -261,7 +261,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) {
@@ -330,11 +330,11 @@ void AutofillMetricsTest::SetUp() {
PersonalDataManagerFactory::GetInstance()->SetTestingFactory(profile, NULL);
ChromeRenderViewHostTestHarness::SetUp();
- 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();
@@ -382,7 +382,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,

Powered by Google App Engine
This is Rietveld 408576698