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

Side by Side Diff: chrome/browser/search_engines/template_url.h

Issue 9581026: Don't set ion=1 for hidden Instant modes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLNoKnownParameters); 161 FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLNoKnownParameters);
162 FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLTwoParameters); 162 FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLTwoParameters);
163 FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLNestedParameter); 163 FRIEND_TEST_ALL_PREFIXES(TemplateURLTest, ParseURLNestedParameter);
164 164
165 // Enumeration of the known types. 165 // Enumeration of the known types.
166 enum ReplacementType { 166 enum ReplacementType {
167 ENCODING, 167 ENCODING,
168 GOOGLE_ACCEPTED_SUGGESTION, 168 GOOGLE_ACCEPTED_SUGGESTION,
169 GOOGLE_BASE_URL, 169 GOOGLE_BASE_URL,
170 GOOGLE_BASE_SUGGEST_URL, 170 GOOGLE_BASE_SUGGEST_URL,
171 GOOGLE_INSTANT_ENABLED,
171 GOOGLE_INSTANT_FIELD_TRIAL_GROUP, 172 GOOGLE_INSTANT_FIELD_TRIAL_GROUP,
172 GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION, 173 GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION,
173 GOOGLE_RLZ, 174 GOOGLE_RLZ,
174 GOOGLE_SEARCH_FIELDTRIAL_GROUP, 175 GOOGLE_SEARCH_FIELDTRIAL_GROUP,
175 GOOGLE_UNESCAPED_SEARCH_TERMS, 176 GOOGLE_UNESCAPED_SEARCH_TERMS,
176 LANGUAGE, 177 LANGUAGE,
177 SEARCH_TERMS, 178 SEARCH_TERMS,
178 }; 179 };
179 180
180 // Used to identify an element of the raw url that can be replaced. 181 // Used to identify an element of the raw url that can be replaced.
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 SearchEngineType search_engine_type_; 549 SearchEngineType search_engine_type_;
549 int prepopulate_id_; 550 int prepopulate_id_;
550 // The primary unique identifier for Sync. This is only set on TemplateURLs 551 // The primary unique identifier for Sync. This is only set on TemplateURLs
551 // that have been associated with Sync. 552 // that have been associated with Sync.
552 std::string sync_guid_; 553 std::string sync_guid_;
553 554
554 // TODO(sky): Add date last parsed OSD file. 555 // TODO(sky): Add date last parsed OSD file.
555 }; 556 };
556 557
557 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_ 558 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/search_terms_data.cc ('k') | chrome/browser/search_engines/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698