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

Unified Diff: components/omnibox/autocomplete_result.h

Issue 1098843004: Omnibox - Do Not Allow HTTP/HTTPS Equivalence if User Explicitly Entered A Scheme (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: possible fix for mac code (cannot compile mac code myself) Created 5 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: components/omnibox/autocomplete_result.h
diff --git a/components/omnibox/autocomplete_result.h b/components/omnibox/autocomplete_result.h
index 1ffc40c7404be64a54fd99b3f5d2372357d1e0d0..7b2b52aeec473dbdfa151a60d8baacffd1fc7e73 100644
--- a/components/omnibox/autocomplete_result.h
+++ b/components/omnibox/autocomplete_result.h
@@ -16,6 +16,7 @@
class AutocompleteInput;
class AutocompleteProvider;
+class AutocompleteProviderClient;
class TemplateURLService;
// All matches from all providers for a particular query. This also tracks
@@ -60,7 +61,7 @@ class AutocompleteResult {
// Max number of matches we'll show from the various providers.
static const size_t kMaxMatches;
- AutocompleteResult();
+ AutocompleteResult(AutocompleteProviderClient* client);
Peter Kasting 2015/06/29 05:04:59 Nit: explicit
Mark P 2015/06/30 04:23:17 Now moot.
~AutocompleteResult();
// Copies matches from |old_matches| to provide a consistant result set. See
@@ -177,6 +178,8 @@ class AutocompleteResult {
// 'foo'" result, and this will contain "http://foo/".
GURL alternate_nav_url_;
+ AutocompleteProviderClient* client_;
+
DISALLOW_COPY_AND_ASSIGN(AutocompleteResult);
};

Powered by Google App Engine
This is Rietveld 408576698