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

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

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files 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 eacfe7b176a15d9df57b3c936cf35b245579f375..684de5227c1a0dae5aebbcf60ca4316850060365 100644
--- a/components/autofill/core/browser/autofill_manager_unittest.cc
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc
@@ -4590,7 +4590,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;
@@ -4702,7 +4702,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;
@@ -4755,7 +4755,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;
@@ -5022,7 +5022,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