Commit f56fc948 authored by Matthias Körber's avatar Matthias Körber Committed by Commit Bot

Removed unused methods from |FieldCandidates|.

Bug: 1007974
Change-Id: I248c8f76fb5f3ade6dfdde8f1c957d3f4708f45a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827404
Commit-Queue: Matthias Körber <koerber@google.com>
Commit-Queue: Vadym Doroshenko <dvadym@chromium.org>
Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700268}
parent 3881b10d
...@@ -45,8 +45,4 @@ ServerFieldType FieldCandidates::BestHeuristicType() const { ...@@ -45,8 +45,4 @@ ServerFieldType FieldCandidates::BestHeuristicType() const {
return static_cast<ServerFieldType>(index); return static_cast<ServerFieldType>(index);
} }
const std::vector<FieldCandidate>& FieldCandidates::field_candidates() const {
return field_candidates_;
}
} // namespace autofill } // namespace autofill
...@@ -44,11 +44,6 @@ class FieldCandidates { ...@@ -44,11 +44,6 @@ class FieldCandidates {
// Determines the best type based on the current possible types. // Determines the best type based on the current possible types.
ServerFieldType BestHeuristicType() const; ServerFieldType BestHeuristicType() const;
// Returns the underlying candidates.
//
// This reference is only valid while the FieldCandidates object is valid.
const std::vector<FieldCandidate>& field_candidates() const;
private: private:
// Internal storage for all the possible types for a given field. // Internal storage for all the possible types for a given field.
std::vector<FieldCandidate> field_candidates_; std::vector<FieldCandidate> field_candidates_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment