/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_search_engines_sync_test.cc | 154 TemplateURL* turl = service->GetTemplateURLForKeyword(ASCIIToUTF16("test1")); local 155 EXPECT_TRUE(turl); 156 service->ResetTemplateURL(turl, turl->short_name(), ASCIIToUTF16("test0"), 157 turl->url());
|
search_engines_helper.cc | 40 std::string GetTURLInfoString(const TemplateURL* turl) { 41 DCHECK(turl); 42 return "TemplateURL: shortname: " + base::UTF16ToASCII(turl->short_name()) + 43 " keyword: " + base::UTF16ToASCII(turl->keyword()) + " url: " + 44 turl->url(); 85 LOG(ERROR) << "TURL GUID from a not found in b's TURLs: " << it->first; 151 LOG(ERROR) << "The other service did not contain a TURL with keyword: " 225 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); local 226 EXPECT_TRUE(turl); 228 service->ResetTemplateURL(turl, short_name, new_keyword, url) 242 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); local 257 TemplateURL* turl = service->GetTemplateURLForKeyword(CreateKeyword(seed)); local [all...] |
/external/chromium_org/chrome/browser/ui/search_engines/ |
keyword_editor_controller_unittest.cc | 145 const TemplateURL* turl = util()->model()->GetTemplateURLForKeyword(kB); local 146 ASSERT_TRUE(turl); 147 EXPECT_EQ(ASCIIToUTF16("a"), turl->short_name()); 148 EXPECT_EQ(ASCIIToUTF16("b"), turl->keyword()); 149 EXPECT_EQ("http://c", turl->url()); 158 TemplateURL* turl = util()->model()->GetTemplateURLs()[0]; local 159 controller()->ModifyTemplateURL(turl, kA1, kB1, "http://c1"); 163 EXPECT_EQ(ASCIIToUTF16("a1"), turl->short_name()); 164 EXPECT_EQ(ASCIIToUTF16("b1"), turl->keyword()); 165 EXPECT_EQ("http://c1", turl->url()) 173 const TemplateURL* turl = util()->model()->GetTemplateURLForKeyword(kB); local 255 TemplateURL* turl = new TemplateURL(data); local [all...] |
template_url_table_model.cc | 268 TemplateURL* turl = new TemplateURL(data); local 269 template_url_service_->Add(turl); 270 scoped_ptr<ModelEntry> entry(new ModelEntry(this, turl));
|
/external/chromium_org/components/search_engines/ |
util.cc | 71 TemplateURL* turl = *i; local 72 int prepopulate_id = turl->prepopulate_id(); 74 unchecked_urls.insert(std::make_pair(prepopulate_id, turl)); 76 checked_urls.push_back(turl);
|
template_url_service_sync_unittest.cc | 54 syncer::SyncData CreateCustomSyncData(const TemplateURL& turl, 61 se_specifics->set_short_name(base::UTF16ToUTF8(turl.short_name())); 63 autogenerate_keyword ? std::string() : base::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()) 920 const TemplateURL* turl = model()->GetTemplateURLForGUID("key2"); local [all...] |
template_url_service.cc | 47 bool IdenticalSyncGUIDs(const TemplateURLData* data, const TemplateURL* turl) { 48 if (!data || !turl) 49 return !data && !turl; 51 return data->sync_guid == turl->sync_guid(); 119 // Returns true if |turl|'s GUID is not found inside |sync_data|. This is to be 123 bool IsFromSync(const TemplateURL* turl, const SyncDataMap& sync_data) { 124 return !!sync_data.count(turl->sync_guid()); 1368 TemplateURL* turl = new TemplateURL(data); local 1482 TemplateURL* turl = *i; local 2311 TemplateURL* turl = GetTemplateURLForGUID(new_guid); local [all...] |