/external/chromium/chrome/browser/ui/search_engines/ |
keyword_editor_controller_unittest.cc | 139 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 140 EXPECT_EQ(ASCIIToUTF16("a"), turl->short_name()); 141 EXPECT_EQ(ASCIIToUTF16("b"), turl->keyword()); 142 ASSERT_TRUE(turl->url() != NULL); 143 EXPECT_EQ("http://c", turl->url()->url()); 152 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 153 controller_->ModifyTemplateURL(turl, kA1, kB1, "http://c1"); 157 EXPECT_EQ(ASCIIToUTF16("a1"), turl->short_name()); 158 EXPECT_EQ(ASCIIToUTF16("b1"), turl->keyword()); 159 ASSERT_TRUE(turl->url() != NULL) 168 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 247 TemplateURL* turl = new TemplateURL(); local [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
search_engines_helper.cc | 40 std::string GetTURLInfoString(const TemplateURL* turl) { 41 DCHECK(turl); 42 return "TemplateURL: shortname: " + UTF16ToASCII(turl->short_name()) + 43 " keyword: " + UTF16ToASCII(turl->keyword()) + " url: " + turl->url(); 84 LOG(ERROR) << "TURL GUID from a not found in b's TURLs: " << it->first; 150 LOG(ERROR) << "The other service did not contain a TURL with keyword: " 224 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); local 225 EXPECT_TRUE(turl); 227 service->ResetTemplateURL(turl, short_name, new_keyword, url) 241 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); local 256 TemplateURL* turl = service->GetTemplateURLForKeyword(CreateKeyword(seed)); local [all...] |
two_client_search_engines_sync_test.cc | 150 TemplateURL* turl = service->GetTemplateURLForKeyword(ASCIIToUTF16("test1")); local 151 EXPECT_TRUE(turl); 152 service->ResetTemplateURL(turl, turl->short_name(), ASCIIToUTF16("test0"), 153 turl->url());
|
/external/chromium_org/chrome/browser/ui/search_engines/ |
keyword_editor_controller_unittest.cc | 138 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 139 EXPECT_EQ(ASCIIToUTF16("a"), turl->short_name()); 140 EXPECT_EQ(ASCIIToUTF16("b"), turl->keyword()); 141 EXPECT_EQ("http://c", turl->url()); 150 TemplateURL* turl = model_->GetTemplateURLs()[0]; local 151 controller_->ModifyTemplateURL(turl, kA1, kB1, "http://c1"); 155 EXPECT_EQ(ASCIIToUTF16("a1"), turl->short_name()); 156 EXPECT_EQ(ASCIIToUTF16("b1"), turl->keyword()); 157 EXPECT_EQ("http://c1", turl->url()); 165 const TemplateURL* turl = model_->GetTemplateURLs()[0] local 247 TemplateURL* turl = new TemplateURL(profile_.get(), data); local [all...] |
template_url_table_model.cc | 274 TemplateURL* turl = new TemplateURL(template_url_service_->profile(), data); local 275 template_url_service_->Add(turl); 276 scoped_ptr<ModelEntry> entry(new ModelEntry(this, turl));
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url_service_sync_unittest.cc | 54 syncer::SyncData CreateCustomSyncData(const TemplateURL& turl, 61 se_specifics->set_short_name(UTF16ToUTF8(turl.short_name())); 63 autogenerate_keyword ? std::string() : UTF16ToUTF8(turl.keyword())); 64 se_specifics->set_favicon_url(turl.favicon_url().spec()); 66 se_specifics->set_safe_for_autoreplace(turl.safe_for_autoreplace()); 67 se_specifics->set_originating_url(turl.originating_url().spec()); 68 se_specifics->set_date_created(turl.date_created().ToInternalValue()); 69 se_specifics->set_input_encodings(JoinString(turl.input_encodings(), ';')); 70 se_specifics->set_show_in_default_list(turl.show_in_default_list()); 71 se_specifics->set_suggestions_url(turl.suggestions_url()) 950 const TemplateURL* turl = model()->GetTemplateURLForGUID("key2"); local [all...] |
template_url_service.cc | 205 // Returns true if |turl|'s GUID is not found inside |sync_data|. This is to be 209 bool IsFromSync(const TemplateURL* turl, const SyncDataMap& sync_data) { 210 return !!sync_data.count(turl->sync_guid()); 1342 TemplateURL* turl = new TemplateURL(profile, data); local 1472 TemplateURL* turl = *i; local [all...] |
template_url_prepopulate_data_unittest.cc | 340 TemplateURL turl(NULL, data); 342 turl, TemplateURLPrepopulateData::LOGO_100_PERCENT); 344 turl, TemplateURLPrepopulateData::LOGO_200_PERCENT); 354 TemplateURL turl(NULL, data); 356 turl, TemplateURLPrepopulateData::LOGO_100_PERCENT); 364 TemplateURL turl(NULL, data); 366 turl, TemplateURLPrepopulateData::LOGO_100_PERCENT);
|
template_url_service.h | 312 // Processes a local TemplateURL change for Sync. |turl| is the TemplateURL 318 const TemplateURL* turl, 324 // from |turl|. 326 const TemplateURL& turl); 552 // Attempts to generate a unique keyword for |turl| based on its original 558 string16 UniquifyKeyword(const TemplateURL& turl, bool force); [all...] |
util.cc | 79 TemplateURL* turl = *i; local 80 int prepopulate_id = turl->prepopulate_id(); 82 unchecked_urls.insert(std::make_pair(prepopulate_id, turl)); 84 checked_urls.push_back(turl);
|
/external/chromium/chrome/browser/search_engines/ |
template_url_unittest.cc | 311 TemplateURL turl; local 312 turl.add_input_encoding("UTF-8"); 320 GURL result = GURL(ref.ReplaceSearchTerms(turl, ASCIIToUTF16("X"), 345 TemplateURL turl; local 346 turl.add_input_encoding(data[i].encoding); 348 GURL result = GURL(ref.ReplaceSearchTerms(turl, 373 TemplateURL turl; local 374 turl.add_input_encoding("UTF-8"); 380 GURL result = GURL(ref.ReplaceSearchTerms(turl, ASCIIToUTF16("foobar"),
|
template_url.cc | 574 bool TemplateURL::SupportsReplacement(const TemplateURL* turl) { 576 return SupportsReplacementUsingTermsData(turl, search_terms_data); 581 const TemplateURL* turl, 583 return turl && turl->url() && 584 turl->url()->SupportsReplacementUsingTermsData(search_terms_data);
|
template_url.h | 288 // Returns true if |turl| is non-null and has a search URL that supports 290 static bool SupportsReplacement(const TemplateURL* turl); 294 const TemplateURL* turl,
|
template_url_parser.cc | 294 TemplateURL* turl = context->template_url(); 324 turl->SetURL(template_url, index_offset, page_offset); 329 turl->SetSuggestionsURL(template_url, index_offset, page_offset);
|
template_url_prepopulate_data.cc | 3524 TemplateURL turl; local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
edit_search_engine_dialog.cc | 27 std::string GetDisplayURL(const TemplateURL& turl) { 28 return turl.url() ? UTF16ToUTF8(turl.url()->DisplayURL()) : std::string();
|
/external/chromium/chrome/browser/ui/views/ |
edit_search_engine_dialog.cc | 34 std::wstring GetDisplayURL(const TemplateURL& turl) { 35 return turl.url() ? turl.url()->DisplayURL() : std::wstring();
|
default_search_view.cc | 34 const TemplateURL* turl, 38 DCHECK(turl); 42 GURL url = TemplateURLModel::GenerateSearchURL(turl);
|
/external/chromium_org/chrome/browser/webdata/ |
keyword_table.cc | 621 TemplateURL turl(NULL, data); 624 bool delete_entry = turl.IsExtensionKeyword(); 629 GURL url(TemplateURLService::GenerateSearchURLUsingTermsData(&turl,
|