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

Unified Diff: components/search_engines/template_url.h

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/search_engines/template_url.h
diff --git a/components/search_engines/template_url.h b/components/search_engines/template_url.h
index 20919cf7fbf2ce40ebea81ce541ec19706d90c7e..45ce518ed18ede3dc1e43ab09db9ab100143f8dd 100644
--- a/components/search_engines/template_url.h
+++ b/components/search_engines/template_url.h
@@ -144,10 +144,6 @@ class TemplateURLRef {
// the request was issued. Set to base::string16::npos if not used.
size_t cursor_position;
- // True to enable the start-edge margin of the omnibox, used in extended
- // Instant to align the preview contents with the omnibox.
- bool enable_omnibox_start_margin;
-
// The URL of the current webpage to be used for experimental zero-prefix
// suggestions.
std::string current_page_url;
@@ -155,9 +151,6 @@ class TemplateURLRef {
// Which omnibox the user used to type the prefix.
metrics::OmniboxEventProto::PageClassification page_classification;
- // True for searches issued with the bookmark bar pref set to shown.
- bool bookmark_bar_pinned;
-
// Optional session token.
std::string session_token;
@@ -308,7 +301,6 @@ class TemplateURLRef {
FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLTwoParameters);
FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLNestedParameter);
FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, URLRefTestImageURLWithPOST);
- FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ReflectsBookmarkBarPinned);
// Enumeration of the known types.
enum ReplacementType {
@@ -316,7 +308,6 @@ class TemplateURLRef {
GOOGLE_ASSISTED_QUERY_STATS,
GOOGLE_BASE_URL,
GOOGLE_BASE_SUGGEST_URL,
- GOOGLE_BOOKMARK_BAR_PINNED,
GOOGLE_CURRENT_PAGE_URL,
GOOGLE_CURSOR_POSITION,
GOOGLE_FORCE_INSTANT_RESULTS,
@@ -328,7 +319,6 @@ class TemplateURLRef {
GOOGLE_INPUT_TYPE,
GOOGLE_INSTANT_EXTENDED_ENABLED,
GOOGLE_NTP_IS_THEMED,
- GOOGLE_OMNIBOX_START_MARGIN,
GOOGLE_CONTEXTUAL_SEARCH_VERSION,
GOOGLE_CONTEXTUAL_SEARCH_CONTEXT_DATA,
GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION,
@@ -711,7 +701,6 @@ class TemplateURL {
private:
friend class TemplateURLService;
- FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ReflectsBookmarkBarPinned);
void CopyFrom(const TemplateURL& other);

Powered by Google App Engine
This is Rietveld 408576698