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

Unified Diff: components/autofill/core/browser/autofill_manager_unittest.cc

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Applying comments Created 4 years 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: components/autofill/core/browser/autofill_manager_unittest.cc
diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc
index dd0097e52414ce81f620bbe578cf0dcabef2ddfa..b6278f84a074149dae0ce7fd600e7689e76fb6b3 100644
--- a/components/autofill/core/browser/autofill_manager_unittest.cc
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc
@@ -4596,7 +4596,7 @@ TEST_F(AutofillManagerTest, MAYBE_UploadCreditCard_CvcUnavailable) {
"Autofill.CardUploadDecisionExpanded",
AutofillMetrics::UPLOAD_NOT_OFFERED_NO_CVC, 1);
- rappor::TestRapporService* rappor_service =
+ rappor::TestRapporServiceImpl* rappor_service =
autofill_client_.test_rappor_service();
EXPECT_EQ(1, rappor_service->GetReportsCount());
std::string sample;
@@ -4708,7 +4708,7 @@ TEST_F(AutofillManagerTest, MAYBE_UploadCreditCard_NoProfileAvailable) {
"Autofill.CardUploadDecisionExpanded",
AutofillMetrics::UPLOAD_NOT_OFFERED_NO_ADDRESS, 1);
- rappor::TestRapporService* rappor_service =
+ rappor::TestRapporServiceImpl* rappor_service =
autofill_client_.test_rappor_service();
EXPECT_EQ(1, rappor_service->GetReportsCount());
std::string sample;
@@ -4761,7 +4761,7 @@ TEST_F(AutofillManagerTest, MAYBE_UploadCreditCard_NoNameAvailable) {
"Autofill.CardUploadDecisionExpanded",
AutofillMetrics::UPLOAD_NOT_OFFERED_NO_NAME, 1);
- rappor::TestRapporService* rappor_service =
+ rappor::TestRapporServiceImpl* rappor_service =
autofill_client_.test_rappor_service();
EXPECT_EQ(1, rappor_service->GetReportsCount());
std::string sample;
@@ -5028,7 +5028,7 @@ TEST_F(AutofillManagerTest, MAYBE_UploadCreditCard_NamesHaveToMatch) {
"Autofill.CardUploadDecisionExpanded",
AutofillMetrics::UPLOAD_NOT_OFFERED_CONFLICTING_NAMES, 1);
- rappor::TestRapporService* rappor_service =
+ rappor::TestRapporServiceImpl* rappor_service =
autofill_client_.test_rappor_service();
EXPECT_EQ(1, rappor_service->GetReportsCount());
std::string sample;

Powered by Google App Engine
This is Rietveld 408576698