// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_GROUPER_GROUPS_H_ #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_GROUPER_GROUPS_H_ #include <map> #include <memory> #include "base/memory/raw_ptr.h" #include "components/omnibox/browser/autocomplete_match.h" #include "third_party/omnibox_proto/groups.pb.h" PMatches; // `Group` class and subclasses used to compose `Section`s. // Group containing matches with the given `GroupId`s, limited per `GroupId` and // the overall `limit`. // E.g., this can describe a group that can have up to 3 search matches, 4 // document matches, and 5 matches total. class Group { … }; #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_GROUPER_GROUPS_H_