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

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

Issue 312423003: Cleanup AutocompleteInput and AutocompleteProvider Functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simpler 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/url_prefix.h
diff --git a/chrome/browser/autocomplete/url_prefix.h b/chrome/browser/autocomplete/url_prefix.h
index b7728b0f322bccb5201b2d7e5c66d687d6b0efcf..5fb96ba6218b42d795c65ee8165ebb72d0ee283d 100644
--- a/chrome/browser/autocomplete/url_prefix.h
+++ b/chrome/browser/autocomplete/url_prefix.h
@@ -8,7 +8,6 @@
#include <vector>
#include "base/strings/string16.h"
-#include "chrome/browser/autocomplete/autocomplete_input.h"
struct URLPrefix;
typedef std::vector<URLPrefix> URLPrefixes;
@@ -48,8 +47,8 @@ struct URLPrefix {
// a protocol at the beginning, and we want to allow these matches to be
// inlineable. ("www." is not otherwise on the default prefix list.)
static size_t GetInlineAutocompleteOffset(
- const AutocompleteInput& input,
- const AutocompleteInput& fixed_up_input,
+ const base::string16& input,
+ const base::string16& fixed_up_input,
const bool allow_www_prefix_without_scheme,
const base::string16& text);

Powered by Google App Engine
This is Rietveld 408576698