/external/chromium/chrome/browser/search_engines/ |
template_url_unittest.cc | 45 TemplateURLRef::SetGoogleBaseURL(NULL); 64 TemplateURLRef ref("{searchTerms}", 0, 0); 86 TemplateURLRef ref(value.url, 0, 0); 91 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())); 99 TemplateURLRef ref("http://foo{searchTerms}{count?}", 0, 0); 103 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())); 110 TemplateURLRef ref("http://foo{searchTerms}{count}", 0, 0); 114 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())); 121 TemplateURLRef ref("http://foo{searchTerms}x{startIndex?}y{startPage?}", 126 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())) [all...] |
template_url.cc | 24 // The TemplateURLRef has any number of terms that need to be replaced. Each of 74 TemplateURLRef::TemplateURLRef() { 78 TemplateURLRef::TemplateURLRef(const std::string& url, 89 void TemplateURLRef::Set(const std::string& url, 98 TemplateURLRef::~TemplateURLRef() { 101 bool TemplateURLRef::ParseParameter(size_t start, 158 std::string TemplateURLRef::ParseURL(const std::string& url [all...] |
template_url.h | 26 // The main use case for TemplateURL is to use the TemplateURLRef returned by 35 // TemplateURLRef. 40 // Both TemplateURL and TemplateURLRef have value semantics. This allows the 42 class TemplateURLRef { 53 TemplateURLRef(); 55 TemplateURLRef(const std::string& url, int index_offset, int page_offset); 57 ~TemplateURLRef(); 69 // If this TemplateURLRef does not support replacement (SupportsReplacement 98 // Returns true if the TemplateURLRef is valid. An invalid TemplateURLRef i [all...] |
search_host_to_urls_map_unittest.cc | 21 TemplateURLRef::SetGoogleBaseURL(NULL); 26 TemplateURLRef::SetGoogleBaseURL(new std::string(base_url));
|
template_url_model_test_util.cc | 160 TemplateURLRef::SetGoogleBaseURL(NULL); 220 TemplateURLRef::SetGoogleBaseURL(new std::string(base_url));
|
template_url_model.cc | 198 const TemplateURLRef* search_ref = t_url->url(); 209 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, 673 const TemplateURLRef* default_provider_ref = 879 TemplateURLRef::SameUrlRefs(url1->url(), url2->url()) & [all...] |
template_url_model_unittest.cc | 156 ASSERT_TRUE(TemplateURLRef::SameUrlRefs(expected.url(), actual.url())); 157 ASSERT_TRUE(TemplateURLRef::SameUrlRefs(expected.suggestions_url(), 175 EXPECT_TRUE(TemplateURLRef::SameUrlRefs(expected->url(), actual->url())); 176 EXPECT_TRUE(TemplateURLRef::SameUrlRefs(expected->suggestions_url(), 295 { "empty TemplateURLRef", NULL, "" }, [all...] |
template_url_model.h | 31 class TemplateURLRef;
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url.h | 26 // TemplateURLRef ------------------------------------------------------------- 28 // A TemplateURLRef represents a single URL within the larger TemplateURL class 36 class TemplateURLRef { 67 // TemplateURLRef::ReplaceSearchTerms methods. By default, only search_terms 115 // about the query portion of the URL. Since neither TemplateURLRef nor 131 // If set, ReplaceSearchTerms() will append a param to the TemplateURLRef to 138 TemplateURLRef(TemplateURL* owner, Type type); 139 TemplateURLRef(TemplateURL* owner, size_t index_in_owner); 140 ~TemplateURLRef(); 159 // If this TemplateURLRef does not support replacement (SupportsReplacemen [all...] |
template_url_unittest.cc | 104 TemplateURLRef::SearchTermsArgs(value.terms))); 117 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("X")))); 129 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("X")))); 141 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("X")))); 153 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("X")))); 165 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("X")))); 189 const TemplateURLRef::PostParams& bad_post_params = 204 TemplateURLRef::SearchTermsArgs search_args(ASCIIToUTF16("X")); 213 TemplateURLRef::PostContent post_content; 223 const TemplateURLRef::Replacements& replacements [all...] |
template_url.cc | 40 // The TemplateURLRef has any number of terms that need to be replaced. Each of 199 // TemplateURLRef::SearchTermsArgs -------------------------------------------- 201 TemplateURLRef::SearchTermsArgs::SearchTermsArgs( 213 TemplateURLRef::SearchTermsArgs::~SearchTermsArgs() { 217 // TemplateURLRef ------------------------------------------------------------- 219 TemplateURLRef::TemplateURLRef(TemplateURL* owner, Type type) 233 TemplateURLRef::TemplateURLRef(TemplateURL* owner, size_t index_in_owner) 247 TemplateURLRef::~TemplateURLRef() [all...] |
template_url_service_android.cc | 151 TemplateURLRef::SearchTermsArgs(query)); 170 TemplateURLRef::SearchTermsArgs(query), &destination_url);
|
util.cc | 50 const TemplateURLRef& search_url = default_provider->url_ref(); 52 TemplateURLRef::SearchTermsArgs search_terms_args(terms);
|
/external/chromium_org/chrome/browser/ui/search_engines/ |
edit_search_engine_controller.cc | 40 // Convert |url| to a TemplateURLRef so we can check its validity even if it 43 // TemplateURLRef::IsValid() when its owner is NULL. 47 const TemplateURLRef& template_ref = t_url.url_ref(); 61 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("x")))).is_valid(); 125 TrimWhitespace(TemplateURLRef::DisplayURLToURLRef(UTF8ToUTF16(url_input)), 137 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("x"))));
|
/external/chromium/chrome/browser/ui/search_engines/ |
edit_search_engine_controller.cc | 37 // Use TemplateURLRef to extract the search placeholder. 38 TemplateURLRef template_ref(url, 0, 0); 55 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())).is_valid(); 127 TrimWhitespace(TemplateURLRef::DisplayURLToURLRef(UTF8ToUTF16(url_input)),
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_provider_unittest.cc | 73 const TemplateURLRef::SearchTermsArgs& search_terms_args); 91 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("echo"))); 94 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("nav"))); 97 TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("query"))); 118 TemplateURLRef::SearchTermsArgs( 126 const TemplateURLRef::SearchTermsArgs& search_terms_args) { 141 new TemplateURLRef::SearchTermsArgs(search_terms_args)); 385 new TemplateURLRef::SearchTermsArgs(base::string16())); 632 new TemplateURLRef::SearchTermsArgs(base::string16()));
|
autocomplete_match.cc | 93 new TemplateURLRef::SearchTermsArgs(*match.search_terms_args) : 128 new TemplateURLRef::SearchTermsArgs(*match.search_terms_args) : NULL); 361 TemplateURLRef::SearchTermsArgs(search_terms)));
|
autocomplete_match.h | 330 // TemplateURLRef::ReplaceSearchTerms() to reset the match's |destination_url| 334 scoped_ptr<TemplateURLRef::SearchTermsArgs> search_terms_args;
|
/external/chromium_org/chrome/browser/ui/tab_contents/ |
core_tab_helper.cc | 229 TemplateURLRef::SearchTermsArgs search_args = 230 TemplateURLRef::SearchTermsArgs(base::string16()); 236 TemplateURLRef::PostContent post_content;
|
/external/chromium_org/chrome/browser/search/ |
search.cc | 127 GURL TemplateURLRefToGURL(const TemplateURLRef& ref, 131 TemplateURLRef::SearchTermsArgs search_terms_args = 132 TemplateURLRef::SearchTermsArgs(base::string16()); 149 TemplateURLRef ref(template_url, i); 209 const TemplateURLRef& instant_url_ref = template_url->instant_url_ref(); 453 TemplateURLRef ref(template_url, i);
|
search.h | 19 class TemplateURLRef;
|
/external/chromium/chrome/browser/autocomplete/ |
search_provider.cc | 115 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE : 116 TemplateURLRef::NO_SUGGESTION_CHOSEN; 424 const TemplateURLRef* const suggestions_url = provider.suggestions_url(); 429 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())), 534 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE : 535 TemplateURLRef::NO_SUGGESTION_CHOSEN; 539 TemplateURLRef::NO_SUGGESTIONS_AVAILABLE : 540 TemplateURLRef::NO_SUGGESTION_CHOSEN; [all...] |
/external/chromium/chrome/browser/importer/ |
profile_import_process_messages.h | 192 // Traits for TemplateURLRef 194 struct ParamTraits<TemplateURLRef> { 195 typedef TemplateURLRef param_type; 209 *p = TemplateURLRef(url, index_offset, page_offset); 213 l->append("<TemplateURLRef>"); 284 TemplateURLRef suggestions_url; 285 TemplateURLRef url;
|
/external/chromium/chrome/browser/ |
omnibox_search_hint.cc | 187 const TemplateURLRef* const search_url = default_provider->url();
|
/external/chromium/chrome/browser/rlz/ |
rlz.cc | 229 const TemplateURLRef* urlref = url_template->url();
|