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

Unified Diff: components/autofill/core/browser/form_structure.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/form_structure.cc
diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc
index cf4ae5c7b1550a66e3585498793ae28d058d3bf4..193a9b0ad6def0c084f5fb2d69310b8ce05ef03a 100644
--- a/components/autofill/core/browser/form_structure.cc
+++ b/components/autofill/core/browser/form_structure.cc
@@ -33,8 +33,8 @@
#include "components/autofill/core/common/form_field_data.h"
#include "components/autofill/core/common/form_field_data_predictions.h"
#include "components/autofill/core/common/signatures_util.h"
-#include "components/rappor/rappor_service.h"
-#include "components/rappor/rappor_utils.h"
+#include "components/rappor/public/rappor_utils.h"
+#include "components/rappor/rappor_service_impl.h"
namespace autofill {
namespace {
@@ -442,9 +442,10 @@ bool FormStructure::EncodeQueryRequest(
}
// static
-void FormStructure::ParseQueryResponse(std::string payload,
- const std::vector<FormStructure*>& forms,
- rappor::RapporService* rappor_service) {
+void FormStructure::ParseQueryResponse(
+ std::string payload,
+ const std::vector<FormStructure*>& forms,
+ rappor::RapporServiceImpl* rappor_service) {
AutofillMetrics::LogServerQueryMetric(
AutofillMetrics::QUERY_RESPONSE_RECEIVED);
@@ -669,7 +670,7 @@ void FormStructure::UpdateFromCache(const FormStructure& cached_form) {
void FormStructure::LogQualityMetrics(const base::TimeTicks& load_time,
const base::TimeTicks& interaction_time,
const base::TimeTicks& submission_time,
- rappor::RapporService* rappor_service,
+ rappor::RapporServiceImpl* rappor_service,
bool did_show_suggestions,
bool observed_submission) const {
size_t num_detected_field_types = 0;

Powered by Google App Engine
This is Rietveld 408576698