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

Unified Diff: chrome/browser/autocomplete/autocomplete_result.h

Issue 343523003: Remove AutocompleteInput Type and PageClassification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months 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: chrome/browser/autocomplete/autocomplete_result.h
diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h
index 68b5096e32883123f00bea6f51905acb1751c33d..cf15c84d615e03f93be6f180062c1f45317b2290 100644
--- a/chrome/browser/autocomplete/autocomplete_result.h
+++ b/chrome/browser/autocomplete/autocomplete_result.h
@@ -12,9 +12,9 @@
#include "base/basictypes.h"
#include "chrome/browser/autocomplete/autocomplete_input.h"
#include "chrome/browser/autocomplete/autocomplete_match.h"
+#include "components/metrics/proto/omnibox_event.pb.h"
#include "url/gurl.h"
-class AutocompleteInput;
class AutocompleteProvider;
class Profile;
@@ -150,7 +150,7 @@ class AutocompleteResult {
// |set_duplicate_matches| is true, the duplicate matches are stored in the
// |duplicate_matches| vector of the corresponding AutocompleteMatch.
static void DedupMatchesByDestination(
- AutocompleteInput::PageClassification page_classification,
+ metrics::OmniboxEventProto::PageClassification page_classification,
bool set_duplicate_matches,
ACMatches* matches);
@@ -181,7 +181,7 @@ class AutocompleteResult {
// Copies matches into this result. |old_matches| gives the matches from the
// last result, and |new_matches| the results from this result.
void MergeMatchesByProvider(
- AutocompleteInput::PageClassification page_classification,
+ metrics::OmniboxEventProto::PageClassification page_classification,
const ACMatches& old_matches,
const ACMatches& new_matches);
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_provider_unittest.cc ('k') | chrome/browser/autocomplete/autocomplete_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698