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

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

Issue 11448005: Add Android-specific parameters to search_engines/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits Created 8 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 unified diff | Download patch
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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // Enumeration of the known types. 153 // Enumeration of the known types.
154 enum ReplacementType { 154 enum ReplacementType {
155 ENCODING, 155 ENCODING,
156 GOOGLE_ACCEPTED_SUGGESTION, 156 GOOGLE_ACCEPTED_SUGGESTION,
157 GOOGLE_ASSISTED_QUERY_STATS, 157 GOOGLE_ASSISTED_QUERY_STATS,
158 GOOGLE_BASE_URL, 158 GOOGLE_BASE_URL,
159 GOOGLE_BASE_SUGGEST_URL, 159 GOOGLE_BASE_SUGGEST_URL,
160 GOOGLE_INSTANT_ENABLED, 160 GOOGLE_INSTANT_ENABLED,
161 GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION, 161 GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION,
162 GOOGLE_RLZ, 162 GOOGLE_RLZ,
163 GOOGLE_SEARCH_CLIENT,
163 GOOGLE_SEARCH_FIELDTRIAL_GROUP, 164 GOOGLE_SEARCH_FIELDTRIAL_GROUP,
164 GOOGLE_UNESCAPED_SEARCH_TERMS, 165 GOOGLE_UNESCAPED_SEARCH_TERMS,
165 LANGUAGE, 166 LANGUAGE,
166 SEARCH_TERMS, 167 SEARCH_TERMS,
167 }; 168 };
168 169
169 // Used to identify an element of the raw url that can be replaced. 170 // Used to identify an element of the raw url that can be replaced.
170 struct Replacement { 171 struct Replacement {
171 Replacement(ReplacementType type, size_t index) 172 Replacement(ReplacementType type, size_t index)
172 : type(type), index(index) {} 173 : type(type), index(index) {}
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 TemplateURLRef url_ref_; 488 TemplateURLRef url_ref_;
488 TemplateURLRef suggestions_url_ref_; 489 TemplateURLRef suggestions_url_ref_;
489 TemplateURLRef instant_url_ref_; 490 TemplateURLRef instant_url_ref_;
490 491
491 // TODO(sky): Add date last parsed OSD file. 492 // TODO(sky): Add date last parsed OSD file.
492 493
493 DISALLOW_COPY_AND_ASSIGN(TemplateURL); 494 DISALLOW_COPY_AND_ASSIGN(TemplateURL);
494 }; 495 };
495 496
496 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_ 497 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/search_terms_data_android.cc ('k') | chrome/browser/search_engines/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698