keyword 41 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java public static TemplateUrl create(int id, String shortName, String keyword) { keyword 42 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java return new TemplateUrl(id, shortName, keyword); keyword 45 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java public TemplateUrl(int index, String shortName, String keyword) { keyword 48 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java mKeyword = keyword; keyword 412 chrome/browser/autocomplete/autocomplete_controller.cc last_default_keyword = result_.default_match()->keyword; keyword 415 chrome/browser/autocomplete/autocomplete_controller.cc result_.default_match()->associated_keyword->keyword; keyword 452 chrome/browser/autocomplete/autocomplete_controller.cc result_.default_match()->associated_keyword->keyword; keyword 469 chrome/browser/autocomplete/autocomplete_controller.cc (result_.default_match()->keyword != last_default_keyword))); keyword 484 chrome/browser/autocomplete/autocomplete_controller.cc base::string16 keyword( keyword 486 chrome/browser/autocomplete/autocomplete_controller.cc if (!keyword.empty()) { keyword 487 chrome/browser/autocomplete/autocomplete_controller.cc keywords.insert(keyword); keyword 493 chrome/browser/autocomplete/autocomplete_controller.cc keyword = match->associated_keyword.get() ? keyword 494 chrome/browser/autocomplete/autocomplete_controller.cc match->associated_keyword->keyword : keyword 496 chrome/browser/autocomplete/autocomplete_controller.cc if (!keyword.empty() && !keywords.count(keyword)) { keyword 497 chrome/browser/autocomplete/autocomplete_controller.cc keywords.insert(keyword); keyword 502 chrome/browser/autocomplete/autocomplete_controller.cc keyword, input_))); keyword 519 chrome/browser/autocomplete/autocomplete_controller.cc DCHECK(!i->keyword.empty()); keyword 520 chrome/browser/autocomplete/autocomplete_controller.cc if (i->keyword != last_keyword) { keyword 534 chrome/browser/autocomplete/autocomplete_controller.cc last_keyword = i->keyword; keyword 89 chrome/browser/autocomplete/autocomplete_match.cc keyword(match.keyword), keyword 125 chrome/browser/autocomplete/autocomplete_match.cc keyword = match.keyword; keyword 405 chrome/browser/autocomplete/autocomplete_match.cc base::string16* keyword, keyword 408 chrome/browser/autocomplete/autocomplete_match.cc keyword->assign(*is_keyword_hint ? associated_keyword->keyword : keyword 417 chrome/browser/autocomplete/autocomplete_match.cc return (t_url && t_url->SupportsReplacement()) ? keyword : base::string16(); keyword 427 chrome/browser/autocomplete/autocomplete_match.cc TemplateURL* template_url = keyword.empty() ? NULL : keyword 428 chrome/browser/autocomplete/autocomplete_match.cc template_url_service->GetTemplateURLForKeyword(keyword); keyword 198 chrome/browser/autocomplete/autocomplete_match.h base::string16* keyword, keyword 331 chrome/browser/autocomplete/autocomplete_match.h base::string16 keyword; keyword 143 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.keyword = match_keyword_; keyword 156 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 keyword; keyword 167 chrome/browser/autocomplete/autocomplete_provider_unittest.cc void RegisterTemplateURL(const base::string16 keyword, keyword 214 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 keyword, keyword 220 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(keyword); keyword 360 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.keyword = match_data[i].keyword; keyword 384 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.keyword = base::ASCIIToUTF16(kTestTemplateURLKeyword); keyword 627 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.keyword = base::ASCIIToUTF16(kTestTemplateURLKeyword); keyword 448 chrome/browser/autocomplete/base_search_provider.cc match.keyword = template_url->keyword(); keyword 477 chrome/browser/autocomplete/base_search_provider.cc match.fill_into_edit.append(match.keyword + base::char16(' ')); keyword 723 chrome/browser/autocomplete/base_search_provider.cc if (match.keyword == i.first->second.keyword) { keyword 91 chrome/browser/autocomplete/keyword_provider.cc return t_url1->keyword().length() < t_url2->keyword().length(); keyword 148 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; keyword 149 chrome/browser/autocomplete/keyword_provider.cc if (!ExtractKeywordFromInput(*input, &keyword, &remaining_input)) keyword 153 chrome/browser/autocomplete/keyword_provider.cc const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); keyword 186 chrome/browser/autocomplete/keyword_provider.cc const base::string16 keyword(TemplateURLService::CleanUserInputKeyword(text)); keyword 188 chrome/browser/autocomplete/keyword_provider.cc if (keyword.empty()) keyword 189 chrome/browser/autocomplete/keyword_provider.cc return keyword; keyword 197 chrome/browser/autocomplete/keyword_provider.cc url_service->GetTemplateURLForKeyword(keyword); keyword 213 chrome/browser/autocomplete/keyword_provider.cc return keyword; keyword 218 chrome/browser/autocomplete/keyword_provider.cc const base::string16& keyword, keyword 222 chrome/browser/autocomplete/keyword_provider.cc GetTemplateURLService()->GetTemplateURLForKeyword(keyword), input, keyword 223 chrome/browser/autocomplete/keyword_provider.cc keyword.length(), SplitReplacementStringFromInput(text, true), true, 0); keyword 255 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; keyword 256 chrome/browser/autocomplete/keyword_provider.cc if (!ExtractKeywordFromInput(input, &keyword, &remaining_input)) keyword 267 chrome/browser/autocomplete/keyword_provider.cc keyword, !remaining_input.empty(), &matches); keyword 308 chrome/browser/autocomplete/keyword_provider.cc if (matches.front()->keyword() == keyword) { keyword 328 chrome/browser/autocomplete/keyword_provider.cc template_url, input, keyword.length(), remaining_input, true, -1)); keyword 374 chrome/browser/autocomplete/keyword_provider.cc *i, input, keyword.length(), remaining_input, false, -1)); keyword 388 chrome/browser/autocomplete/keyword_provider.cc base::string16* keyword, keyword 394 chrome/browser/autocomplete/keyword_provider.cc *keyword = TemplateURLService::CleanUserInputKeyword( keyword 396 chrome/browser/autocomplete/keyword_provider.cc return !keyword->empty(); keyword 436 chrome/browser/autocomplete/keyword_provider.cc const base::string16& keyword = template_url->keyword(); keyword 437 chrome/browser/autocomplete/keyword_provider.cc const bool keyword_complete = (prefix_length == keyword.length()); keyword 451 chrome/browser/autocomplete/keyword_provider.cc match.fill_into_edit = keyword; keyword 465 chrome/browser/autocomplete/keyword_provider.cc match.keyword = keyword; keyword 542 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; keyword 544 chrome/browser/autocomplete/keyword_provider.cc !ExtractKeywordFromInput(input, &keyword, &remaining_input)) keyword 548 chrome/browser/autocomplete/keyword_provider.cc model->GetTemplateURLForKeyword(keyword)); keyword 564 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; keyword 565 chrome/browser/autocomplete/keyword_provider.cc bool result = ExtractKeywordFromInput(input, &keyword, &remaining_input); keyword 568 chrome/browser/autocomplete/keyword_provider.cc model->GetTemplateURLForKeyword(keyword); keyword 587 chrome/browser/autocomplete/keyword_provider.cc template_url, input, keyword.length(), keyword 89 chrome/browser/autocomplete/keyword_provider.h const base::string16& keyword, keyword 111 chrome/browser/autocomplete/keyword_provider.h base::string16* keyword, keyword 259 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16 keyword(ASCIIToUTF16("foo")); keyword 260 chrome/browser/autocomplete/keyword_provider_unittest.cc data.SetKeyword(keyword); keyword 264 chrome/browser/autocomplete/keyword_provider_unittest.cc ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword)); keyword 274 chrome/browser/autocomplete/search_provider.cc default_provider->keyword() : base::string16()); keyword 276 chrome/browser/autocomplete/search_provider.cc keyword_provider->keyword() : base::string16()); keyword 295 chrome/browser/autocomplete/search_provider.cc match.keyword = providers_.default_provider(); keyword 505 chrome/browser/autocomplete/search_provider.cc if (it->keyword != keyword_url->keyword()) keyword 947 chrome/browser/autocomplete/search_provider.cc if ((it->keyword == keyword_url->keyword()) && keyword 530 chrome/browser/autocomplete/search_provider_unittest.cc QueryForInput(keyword_t_url_->keyword() + ASCIIToUTF16(" ") + term, keyword 568 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_FALSE(match.keyword.empty()); keyword 571 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(keyword_t_url_->keyword() + base::char16(' ') + keyword_term_, keyword 892 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16("k"), result.match_at(0).keyword); keyword 893 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16("k"), result.match_at(1).keyword); keyword 896 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_NE(result.match_at(0).keyword, result.match_at(2).keyword); keyword 1073 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_TRUE(nav_match.keyword.empty()); keyword 2182 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].keyword == ASCIIToUTF16("k")) << description; keyword 2650 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].keyword == ASCIIToUTF16("k")) << description; keyword 3708 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].keyword == ASCIIToUTF16("k")); keyword 157 chrome/browser/autocomplete/shortcuts_backend.cc normalized_match.transition, match_type, normalized_match.keyword); keyword 230 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.keyword = base::UTF8ToUTF16("foo"); keyword 245 chrome/browser/autocomplete/shortcuts_provider.cc match.keyword = shortcut.match_core.keyword; keyword 415 chrome/browser/autocomplete/shortcuts_provider.cc ShortcutsProvider::FindFirstMatch(const base::string16& keyword, keyword 419 chrome/browser/autocomplete/shortcuts_provider.cc backend->shortcuts_map().lower_bound(keyword); keyword 423 chrome/browser/autocomplete/shortcuts_provider.cc StartsWith(it->first, keyword, true)) ? it : keyword 101 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& keyword, keyword 57 chrome/browser/autocomplete/shortcuts_provider_unittest.cc std::string keyword; keyword 324 chrome/browser/autocomplete/shortcuts_provider_unittest.cc cur.transition, cur.type, ASCIIToUTF16(cur.keyword)), keyword 226 chrome/browser/extensions/api/omnibox/omnibox_api.cc const std::string& keyword = OmniboxInfo::GetKeyword(extension); keyword 227 chrome/browser/extensions/api/omnibox/omnibox_api.cc if (!keyword.empty()) { keyword 237 chrome/browser/extensions/api/omnibox/omnibox_api.cc keyword); keyword 373 chrome/browser/extensions/api/omnibox/omnibox_api.cc const TemplateURL* keyword, keyword 376 chrome/browser/extensions/api/omnibox/omnibox_api.cc DCHECK(keyword->GetType() == TemplateURL::OMNIBOX_API_EXTENSION); keyword 379 chrome/browser/extensions/api/omnibox/omnibox_api.cc GetOmniboxDefaultSuggestion(profile, keyword->GetExtensionId())); keyword 164 chrome/browser/extensions/api/omnibox/omnibox_api.h const TemplateURL* keyword, keyword 53 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), match.keyword); keyword 73 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(0).keyword); keyword 80 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(1).keyword); keyword 85 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(2).keyword); keyword 90 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(3).keyword); keyword 234 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc ASSERT_FALSE(result.match_at(0).keyword.empty()); keyword 48 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.SetKeyword(base::UTF8ToUTF16(search_provider.keyword)); keyword 87 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("keyword.de"), extension_provider->keyword()); keyword 2749 chrome/browser/history/history_backend_unittest.cc base::string16 keyword = base::UTF8ToUTF16("bar"); keyword 2751 chrome/browser/history/history_backend_unittest.cc url1_id, keyword_id, keyword)); keyword 2764 chrome/browser/history/history_backend_unittest.cc url2_id, keyword_id2, keyword)); keyword 2775 chrome/browser/history/history_backend_unittest.cc url3_id, keyword_id2, keyword)); keyword 2778 chrome/browser/history/history_backend_unittest.cc backend_->DeleteMatchingURLsForKeyword(keyword_id2, keyword); keyword 44 chrome/browser/history/shortcuts_database.cc s->BindString16(10, shortcut.match_core.keyword); keyword 75 chrome/browser/history/shortcuts_database.cc const base::string16& keyword) keyword 84 chrome/browser/history/shortcuts_database.cc keyword(keyword) { keyword 54 chrome/browser/history/shortcuts_database.h const base::string16& keyword); keyword 68 chrome/browser/history/shortcuts_database.h base::string16 keyword; keyword 39 chrome/browser/history/shortcuts_database_unittest.cc std::string keyword; keyword 130 chrome/browser/history/shortcuts_database_unittest.cc info.transition, info.type, ASCIIToUTF16(info.keyword)), keyword 165 chrome/browser/history/url_database_unittest.cc base::string16 keyword = base::UTF8ToUTF16("visit"); keyword 166 chrome/browser/history/url_database_unittest.cc ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id, keyword_id, keyword)); keyword 170 chrome/browser/history/url_database_unittest.cc GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches); keyword 172 chrome/browser/history/url_database_unittest.cc ASSERT_EQ(keyword, matches[0].term); keyword 178 chrome/browser/history/url_database_unittest.cc EXPECT_EQ(keyword, keyword_search_term_row.term); keyword 185 chrome/browser/history/url_database_unittest.cc GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches); keyword 265 chrome/browser/history/url_database_unittest.cc base::string16 keyword = base::UTF8ToUTF16("visit"); keyword 266 chrome/browser/history/url_database_unittest.cc ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id1, keyword_id, keyword)); keyword 277 chrome/browser/history/url_database_unittest.cc ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id2, keyword_id, keyword)); keyword 294 chrome/browser/history/url_database_unittest.cc ASSERT_TRUE(GetKeywordSearchTermRows(keyword, &rows)); keyword 297 chrome/browser/history/url_database_unittest.cc EXPECT_EQ(keyword, rows[0].term); keyword 298 chrome/browser/history/url_database_unittest.cc EXPECT_EQ(keyword, rows[1].term); keyword 301 chrome/browser/history/url_database_unittest.cc EXPECT_EQ(keyword, rows[0].term); keyword 303 chrome/browser/history/url_database_unittest.cc EXPECT_EQ(keyword, rows[1].term); keyword 315 chrome/browser/history/url_database_unittest.cc ASSERT_TRUE(DeleteKeywordSearchTerm(keyword)); keyword 324 chrome/browser/history/url_database_unittest.cc ASSERT_TRUE(GetKeywordSearchTermRows(keyword, &rows)); keyword 49 chrome/browser/importer/firefox_importer_browsertest.cc const wchar_t* keyword; keyword 180 chrome/browser/importer/firefox_importer_browsertest.cc base::string16 keyword = template_urls[i]->keyword(); keyword 182 chrome/browser/importer/firefox_importer_browsertest.cc if (template_urls[i]->keyword() == keyword 183 chrome/browser/importer/firefox_importer_browsertest.cc base::WideToUTF16Hack(kFirefoxKeywords[j].keyword)) { keyword 94 chrome/browser/importer/in_process_importer_bridge.cc const base::string16& keyword, keyword 101 chrome/browser/importer/in_process_importer_bridge.cc if (keyword.empty()) keyword 104 chrome/browser/importer/in_process_importer_bridge.cc data.SetKeyword(keyword); keyword 107 chrome/browser/importer/in_process_importer_bridge.cc data.short_name = title.empty() ? keyword : title; keyword 226 chrome/browser/importer/in_process_importer_bridge.cc url_keywords[i].keyword, keyword 300 chrome/browser/importer/profile_writer.cc if (model->GetTemplateURLForKeyword((*i)->keyword()) != NULL) keyword 884 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(kKeyword, default_search->keyword()); keyword 930 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(kKeyword, default_search->keyword()); keyword 1073 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(kKeyword, default_search->keyword()); keyword 1106 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(kKeyword, default_search->keyword()); keyword 62 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc tree->SetString("keyword", template_url->keyword()); keyword 443 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc std::string keyword; keyword 444 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc ASSERT_TRUE(details->GetString("keyword", &keyword)); keyword 447 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::ASCIIToUTF16(keyword)); keyword 428 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("firstkey"), default_engine->keyword()); keyword 1874 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 keyword( keyword 1877 chrome/browser/renderer_context_menu/render_view_context_menu.cc data.short_name = keyword; keyword 1878 chrome/browser/renderer_context_menu/render_view_context_menu.cc data.SetKeyword(keyword); keyword 228 chrome/browser/search_engines/default_search_policy_handler.cc std::string name, keyword; keyword 236 chrome/browser/search_engines/default_search_policy_handler.cc if (!prefs->GetString(prefs::kDefaultSearchProviderKeyword, &keyword) || keyword 237 chrome/browser/search_engines/default_search_policy_handler.cc keyword.empty()) { keyword 132 chrome/browser/search_engines/search_provider_install_data_unittest.cc const base::string16& keyword); keyword 198 chrome/browser/search_engines/search_provider_install_data_unittest.cc const base::string16& keyword) { keyword 200 chrome/browser/search_engines/search_provider_install_data_unittest.cc data.short_name = keyword; keyword 201 chrome/browser/search_engines/search_provider_install_data_unittest.cc data.SetKeyword(keyword); keyword 1063 chrome/browser/search_engines/template_url.cc void TemplateURLData::SetKeyword(const base::string16& keyword) { keyword 1064 chrome/browser/search_engines/template_url.cc DCHECK(!keyword.empty()); keyword 1068 chrome/browser/search_engines/template_url.cc keyword_ = base::i18n::ToLower(keyword); keyword 1138 chrome/browser/search_engines/template_url.cc google_util::IsGoogleHostname(base::UTF16ToUTF8(data_.keyword()), keyword 1143 chrome/browser/search_engines/template_url.cc return (data_.keyword() == other.data_.keyword()) || keyword 426 chrome/browser/search_engines/template_url.h void SetKeyword(const base::string16& keyword); keyword 427 chrome/browser/search_engines/template_url.h const base::string16& keyword() const { return keyword_; } keyword 574 chrome/browser/search_engines/template_url.h const base::string16& keyword() const { return data_.keyword(); } keyword 31 chrome/browser/search_engines/template_url_fetcher.cc const base::string16& keyword, keyword 72 chrome/browser/search_engines/template_url_fetcher.cc const base::string16& keyword, keyword 81 chrome/browser/search_engines/template_url_fetcher.cc keyword_(keyword), keyword 151 chrome/browser/search_engines/template_url_fetcher.cc keyword_ = template_url_->keyword(); keyword 229 chrome/browser/search_engines/template_url_fetcher.cc const base::string16& keyword, keyword 247 chrome/browser/search_engines/template_url_fetcher.cc DCHECK(!keyword.empty()); keyword 257 chrome/browser/search_engines/template_url_fetcher.cc url_model->GetTemplateURLForKeyword(keyword); keyword 267 chrome/browser/search_engines/template_url_fetcher.cc ((*i)->keyword() == keyword))) keyword 272 chrome/browser/search_engines/template_url_fetcher.cc new RequestDelegate(this, keyword, osdd_url, favicon_url, web_contents, keyword 49 chrome/browser/search_engines/template_url_fetcher.h void ScheduleDownload(const base::string16& keyword, keyword 73 chrome/browser/search_engines/template_url_fetcher_unittest.cc void StartDownload(const base::string16& keyword, keyword 136 chrome/browser/search_engines/template_url_fetcher_unittest.cc const base::string16& keyword, keyword 154 chrome/browser/search_engines/template_url_fetcher_unittest.cc keyword, osdd_url, favicon_url, NULL, keyword 166 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 169 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); keyword 172 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 182 chrome/browser/search_engines/template_url_fetcher_unittest.cc keyword); keyword 190 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 193 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); keyword 196 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 204 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword; keyword 208 chrome/browser/search_engines/template_url_fetcher_unittest.cc keyword + ASCIIToUTF16("1"), keyword 211 chrome/browser/search_engines/template_url_fetcher_unittest.cc keyword, TemplateURLFetcher::AUTODETECTED_PROVIDER }, keyword 217 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(test_cases[i].keyword, test_cases[i].osdd_file_name, keyword 234 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 237 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); keyword 240 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 253 chrome/browser/search_engines/template_url_fetcher_unittest.cc last_callback_template_url_->keyword()); keyword 258 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 259 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); keyword 262 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 269 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 270 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); keyword 273 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 286 chrome/browser/search_engines/template_url_fetcher_unittest.cc last_callback_template_url_->keyword()); keyword 291 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 293 chrome/browser/search_engines/template_url_fetcher_unittest.cc data.short_name = keyword; keyword 294 chrome/browser/search_engines/template_url_fetcher_unittest.cc data.SetKeyword(keyword); keyword 299 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_TRUE(test_util_.model()->GetTemplateURLForKeyword(keyword)); keyword 303 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 311 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); keyword 313 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 319 chrome/browser/search_engines/template_url_fetcher_unittest.cc StartDownload(keyword, osdd_file_name, keyword 1064 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::string16& keyword, keyword 1083 chrome/browser/search_engines/template_url_prepopulate_data.cc data.SetKeyword(keyword); keyword 1124 chrome/browser/search_engines/template_url_prepopulate_data.cc base::string16 keyword; keyword 1132 chrome/browser/search_engines/template_url_prepopulate_data.cc engine->GetString("keyword", &keyword) && !keyword.empty() && keyword 1161 chrome/browser/search_engines/template_url_prepopulate_data.cc t_urls.push_back(MakePrepopulatedTemplateURL(profile, name, keyword, keyword 1184 chrome/browser/search_engines/template_url_prepopulate_data.cc base::WideToUTF16(engine.keyword), engine.search_url, engine.suggest_url, keyword 133 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc EXPECT_EQ(ASCIIToUTF16("fook"), t_urls[0]->keyword()); keyword 158 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc EXPECT_EQ(ASCIIToUTF16("fook"), t_urls[0]->keyword()); keyword 226 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc EXPECT_NE(ASCIIToUTF16("fook"), t_urls[i]->keyword()); keyword 256 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc ASSERT_FALSE(t_urls[i]->keyword().empty()); keyword 219 chrome/browser/search_engines/template_url_service.cc std::string keyword = base::UTF16ToASCII((*it)->keyword()); keyword 220 chrome/browser/search_engines/template_url_service.cc base::TrimString(keyword, "_", &keyword); keyword 221 chrome/browser/search_engines/template_url_service.cc duplicates[keyword]++; keyword 243 chrome/browser/search_engines/template_url_service.cc const std::string& keyword) keyword 246 chrome/browser/search_engines/template_url_service.cc extension_keyword(keyword) { keyword 330 chrome/browser/search_engines/template_url_service.cc base::string16 keyword(net::StripWWWFromHost(url)); keyword 331 chrome/browser/search_engines/template_url_service.cc return keyword.empty() ? base::ASCIIToUTF16("www") : keyword; keyword 336 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword) { keyword 338 chrome/browser/search_engines/template_url_service.cc base::string16 result(base::i18n::ToLower(keyword)); keyword 341 chrome/browser/search_engines/template_url_service.cc if (url_parse::ExtractScheme(base::UTF16ToUTF8(keyword).c_str(), keyword 342 chrome/browser/search_engines/template_url_service.cc static_cast<int>(keyword.length()), keyword 401 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, keyword 404 chrome/browser/search_engines/template_url_service.cc DCHECK(!keyword.empty()); // This should only be called for non-empty keyword 407 chrome/browser/search_engines/template_url_service.cc TemplateURL* existing_url = GetTemplateURLForKeyword(keyword); keyword 457 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword) { keyword 459 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_.find(keyword)); keyword 464 chrome/browser/search_engines/template_url_service.cc (initial_default_search_provider_->keyword() == keyword)) ? keyword 506 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, keyword 508 chrome/browser/search_engines/template_url_service.cc DCHECK(!keyword.empty()); keyword 511 chrome/browser/search_engines/template_url_service.cc template_url->data_.SetKeyword(keyword); keyword 607 chrome/browser/search_engines/template_url_service.cc const std::string& keyword) { keyword 612 chrome/browser/search_engines/template_url_service.cc ExtensionKeyword extension_url(extension_id, extension_name, keyword); keyword 646 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, keyword 650 chrome/browser/search_engines/template_url_service.cc DCHECK(!keyword.empty()); keyword 654 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(keyword); keyword 870 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, keyword 872 chrome/browser/search_engines/template_url_service.cc const TemplateURL* template_url = GetTemplateURLForKeyword(keyword); keyword 1002 chrome/browser/search_engines/template_url_service.cc FindNonExtensionTemplateURLForKeyword(turl->keyword()); keyword 1285 chrome/browser/search_engines/template_url_service.cc se_specifics->set_keyword(base::UTF16ToUTF8(turl.keyword())); keyword 1317 chrome/browser/search_engines/template_url_service.cc se_specifics->keyword(), keyword 1348 chrome/browser/search_engines/template_url_service.cc base::string16 keyword(base::UTF8ToUTF16(specifics.keyword())); keyword 1354 chrome/browser/search_engines/template_url_service.cc specifics.autogenerate_keyword() || specifics.keyword().empty(); keyword 1356 chrome/browser/search_engines/template_url_service.cc keyword = base::ASCIIToUTF16("dummy"); // Will be replaced below. keyword 1357 chrome/browser/search_engines/template_url_service.cc DCHECK(!keyword.empty()); keyword 1358 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(keyword); keyword 1410 chrome/browser/search_engines/template_url_service.cc turl->data_.SetKeyword(existing_turl->keyword()); keyword 1473 chrome/browser/search_engines/template_url_service.cc DCHECK(initializers[i].keyword); keyword 1481 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(base::UTF8ToUTF16(initializers[i].keyword)); keyword 1506 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword = template_url->keyword(); keyword 1507 chrome/browser/search_engines/template_url_service.cc DCHECK_NE(0U, keyword_to_template_map_.count(keyword)); keyword 1508 chrome/browser/search_engines/template_url_service.cc if (keyword_to_template_map_[keyword] == template_url) { keyword 1521 chrome/browser/search_engines/template_url_service.cc if ((turl != template_url) && (turl->keyword() == keyword) && keyword 1529 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_[keyword] = best_fallback; keyword 1531 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_.erase(keyword); keyword 1545 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword = template_url->keyword(); keyword 1547 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_.find(keyword); keyword 1549 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_[keyword] = template_url; keyword 1561 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_[keyword] = template_url; keyword 1632 chrome/browser/search_engines/template_url_service.cc std::string keyword; keyword 1654 chrome/browser/search_engines/template_url_service.cc keyword = base::UTF16ToUTF8(t_url->keyword()); keyword 1678 chrome/browser/search_engines/template_url_service.cc prefs->SetString(prefs::kDefaultSearchProviderKeyword, keyword); keyword 1705 chrome/browser/search_engines/template_url_service.cc base::string16 keyword = keyword 1711 chrome/browser/search_engines/template_url_service.cc bool update_keyword = keyword.empty(); keyword 1713 chrome/browser/search_engines/template_url_service.cc keyword = base::ASCIIToUTF16("dummy"); keyword 1751 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(keyword); keyword 1821 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword) { keyword 1822 chrome/browser/search_engines/template_url_service.cc TemplateURL* keyword_turl = GetTemplateURLForKeyword(keyword); keyword 1830 chrome/browser/search_engines/template_url_service.cc ((*i)->keyword() == keyword)) keyword 1846 chrome/browser/search_engines/template_url_service.cc base::string16 old_keyword(existing_turl->keyword()); keyword 1858 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword = existing_turl->keyword(); keyword 1860 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_.find(keyword); keyword 1862 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_[keyword] = existing_turl; keyword 1875 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_[keyword] = existing_turl; keyword 1973 chrome/browser/search_engines/template_url_service.cc GURL url(URLFixerUpper::FixupURL(base::UTF16ToUTF8(t_url.keyword()), keyword 1997 chrome/browser/search_engines/template_url_service.cc keyword_to_template_map_.find(updated_turl.keyword()); keyword 2009 chrome/browser/search_engines/template_url_service.cc updated_turl.data_.SetKeyword(t_url->keyword()); keyword 2223 chrome/browser/search_engines/template_url_service.cc GetTemplateURLForKeyword(template_url->keyword()); keyword 2372 chrome/browser/search_engines/template_url_service.cc if (!GetTemplateURLForKeyword(turl.keyword())) keyword 2373 chrome/browser/search_engines/template_url_service.cc return turl.keyword(); keyword 2389 chrome/browser/search_engines/template_url_service.cc base::string16 keyword_candidate(turl.keyword()); keyword 2414 chrome/browser/search_engines/template_url_service.cc DCHECK_EQ(applied_sync_turl->keyword(), unapplied_sync_turl->keyword()); keyword 2460 chrome/browser/search_engines/template_url_service.cc FindNonExtensionTemplateURLForKeyword(sync_turl->keyword()); keyword 79 chrome/browser/search_engines/template_url_service.h const char* const keyword; keyword 88 chrome/browser/search_engines/template_url_service.h const std::string& keyword); keyword 108 chrome/browser/search_engines/template_url_service.h static base::string16 CleanUserInputKeyword(const base::string16& keyword); keyword 131 chrome/browser/search_engines/template_url_service.h bool CanReplaceKeyword(const base::string16& keyword, keyword 146 chrome/browser/search_engines/template_url_service.h TemplateURL* GetTemplateURLForKeyword(const base::string16& keyword); keyword 166 chrome/browser/search_engines/template_url_service.h const base::string16& keyword, keyword 203 chrome/browser/search_engines/template_url_service.h const std::string& keyword); keyword 221 chrome/browser/search_engines/template_url_service.h const base::string16& keyword, keyword 301 chrome/browser/search_engines/template_url_service.h base::string16 GetKeywordShortName(const base::string16& keyword, keyword 491 chrome/browser/search_engines/template_url_service.h const base::string16& keyword); keyword 125 chrome/browser/search_engines/template_url_service_android.cc ConvertUTF16ToJavaString(env, template_url->keyword()).obj()); keyword 50 chrome/browser/search_engines/template_url_service_sync_unittest.cc return sync_data.GetSpecifics().search_engine().keyword(); keyword 66 chrome/browser/search_engines/template_url_service_sync_unittest.cc autogenerate_keyword ? std::string() : base::UTF16ToUTF8(turl.keyword())); keyword 81 chrome/browser/search_engines/template_url_service_sync_unittest.cc se_specifics->keyword(), specifics); keyword 175 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* CreateTestTemplateURL(const base::string16& keyword, keyword 261 chrome/browser/search_engines/template_url_service_sync_unittest.cc const base::string16& keyword, keyword 269 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetKeyword(keyword); keyword 285 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ(expected.keyword(), actual.keyword()); keyword 523 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_NE(original_turl_keyword, sync_turl->keyword()); keyword 524 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(original_turl_keyword, original_turl->keyword()); keyword 543 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(original_turl_keyword, sync_turl->keyword()); keyword 544 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_NE(original_turl_keyword, original_turl->keyword()); keyword 562 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(original_turl_keyword, sync_turl->keyword()); keyword 563 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_NE(original_turl_keyword, original_turl->keyword()); keyword 579 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_NE(original_turl_keyword, sync_turl->keyword()); keyword 580 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(original_turl_keyword, original_turl->keyword()); keyword 581 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(sync_turl->keyword())); keyword 785 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("key2"), key2->keyword()); keyword 852 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("key2"), key2_sync->keyword()); keyword 925 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("newkeyword"), turl->keyword()); keyword 1117 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1.com"), key1->keyword()); keyword 1122 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(google_keyword, key2->keyword()); keyword 1174 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(google_keyword, model()->GetTemplateURLForGUID("sync1")->keyword()); keyword 1178 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForGUID("sync2")->keyword()); keyword 1226 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(keyword1->keyword(), keyword 1231 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(keyword2->keyword(), keyword 1263 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* keyword = keyword 1265 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_FALSE(keyword == NULL); keyword 1266 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, keyword->input_encodings().size()); keyword 1553 chrome/browser/search_engines/template_url_service_sync_unittest.cc undelete.sync_data().GetSpecifics().search_engine().keyword()); keyword 1665 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("key2"), current_default->keyword()); keyword 1749 chrome/browser/search_engines/template_url_service_sync_unittest.cc const base::string16 keyword(ASCIIToUTF16("key1")); keyword 1751 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* default_turl = CreateTestTemplateURL(keyword, keyword 1761 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<TemplateURL> turl(CreateTestTemplateURL(keyword, keyword 1775 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(keyword, winner->keyword()); keyword 1864 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 original_keyword = data_copy.keyword(); keyword 1906 chrome/browser/search_engines/template_url_service_sync_unittest.cc change.sync_data().GetSpecifics().search_engine().keyword()); keyword 1934 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.com"), synced_turl->keyword()); keyword 1943 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.com"), synced_turl->keyword()); keyword 1949 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.co.in"), synced_turl->keyword()); keyword 2099 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(expected_local_keyword, local_turl->keyword()); keyword 2107 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(expected_sync_keyword, sync_turl->keyword()); keyword 2131 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(default_turl->keyword(), result_turl->keyword()); keyword 2154 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(default_turl->keyword(), result_turl->keyword()); keyword 2184 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(default_turl->keyword(), result_turl->keyword()); keyword 2214 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(ASCIIToUTF16("new_kw"), result_turl->keyword()); keyword 2244 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(default_turl->keyword(), result_turl->keyword()); keyword 140 chrome/browser/search_engines/template_url_service_test_util.cc const std::string& keyword, keyword 153 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(keyword)); keyword 72 chrome/browser/search_engines/template_url_service_test_util.h const std::string& keyword, keyword 94 chrome/browser/search_engines/template_url_service_unittest.cc const std::string& keyword, keyword 105 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(base::UTF8ToUTF16(keyword)); keyword 121 chrome/browser/search_engines/template_url_service_unittest.cc const std::string& keyword, keyword 131 chrome/browser/search_engines/template_url_service_unittest.cc model, short_name, keyword, url, suggest_url, alternate_url,favicon_url, keyword 144 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(expected->keyword(), actual->keyword()); keyword 170 chrome/browser/search_engines/template_url_service_unittest.cc const std::string& keyword, keyword 257 chrome/browser/search_engines/template_url_service_unittest.cc const std::string& keyword, keyword 266 chrome/browser/search_engines/template_url_service_unittest.cc return ::AddKeywordWithDate(model(), short_name, keyword, url, suggest_url, keyword 274 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(expected.keyword(), actual.keyword()); keyword 402 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(t_url->keyword())); keyword 430 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(ASCIIToUTF16("b"), loaded_url->keyword()); keyword 478 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), t_url->keyword()); keyword 490 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), t_url->keyword()); keyword 503 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("keyword"), t_url2->keyword()); keyword 505 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("test2"), t_url->keyword()); keyword 668 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); keyword 673 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key5"), model()->GetTemplateURLs()[1]->keyword()); keyword 678 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key6"), model()->GetTemplateURLs()[2]->keyword()); keyword 714 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); keyword 716 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key3"), model()->GetTemplateURLs()[1]->keyword()); keyword 724 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); keyword 726 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key3"), model()->GetTemplateURLs()[1]->keyword()); keyword 734 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); keyword 765 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(new_keyword, t_url->keyword()); keyword 826 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(t_url, t_url->short_name(), t_url->keyword(), keyword 847 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(t_url, t_url->short_name(), t_url->keyword(), keyword 915 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("xxx"), google->keyword()); keyword 952 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.com"), user_dse->keyword()); keyword 1060 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.com"), t_url->keyword()); keyword 1071 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.co.uk"), t_url->keyword()); keyword 1091 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.co.uk"), t_url->keyword()); keyword 1099 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.de"), manual->keyword()); keyword 1103 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("google.fr"), t_url->keyword()); keyword 19 chrome/browser/search_engines/template_url_service_util_unittest.cc const std::string& keyword, keyword 23 chrome/browser/search_engines/template_url_service_util_unittest.cc data.SetKeyword(base::ASCIIToUTF16(keyword)); keyword 78 chrome/browser/search_engines/template_url_service_util_unittest.cc StartsWith((*itr)->keyword(), base::ASCIIToUTF16("winner"), true)); keyword 169 chrome/browser/search_engines/util.cc prepopulated_url->SetKeyword(original_turl->keyword()); keyword 43 chrome/browser/sync/test/integration/search_engines_helper.cc " keyword: " + base::UTF16ToASCII(turl->keyword()) + " url: " + keyword 51 chrome/browser/sync/test/integration/search_engines_helper.cc (turl1->keyword() == turl2->keyword()) && keyword 98 chrome/browser/sync/test/integration/search_engines_helper.cc << default_a->keyword() << " B's default: " keyword 99 chrome/browser/sync/test/integration/search_engines_helper.cc << default_b->keyword(); keyword 103 chrome/browser/sync/test/integration/search_engines_helper.cc << " and keyword: " << default_a->keyword(); keyword 148 chrome/browser/sync/test/integration/search_engines_helper.cc verifier_turl->keyword()); keyword 152 chrome/browser/sync/test/integration/search_engines_helper.cc << verifier_turl->keyword(); keyword 186 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& keyword, keyword 188 chrome/browser/sync/test/integration/search_engines_helper.cc return CreateTestTemplateURL(profile, seed, keyword, keyword 194 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& keyword, keyword 199 chrome/browser/sync/test/integration/search_engines_helper.cc data.SetKeyword(keyword); keyword 219 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& keyword, keyword 225 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); keyword 232 chrome/browser/sync/test/integration/search_engines_helper.cc GetVerifierService()->GetTemplateURLForKeyword(keyword); keyword 241 chrome/browser/sync/test/integration/search_engines_helper.cc base::string16 keyword(CreateKeyword(seed)); keyword 242 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); keyword 248 chrome/browser/sync/test/integration/search_engines_helper.cc GetVerifierService()->GetTemplateURLForKeyword(keyword); keyword 38 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& keyword, keyword 42 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& keyword, keyword 54 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& keyword, keyword 24 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h void SetKeyword(const base::string16& keyword, bool is_extension_keyword); keyword 159 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h NSImage* GetKeywordImage(const base::string16& keyword); keyword 22 chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h void SetKeyword(const base::string16& keyword, bool is_extension_keyword); keyword 148 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::UTF16ToUTF8(controller_->template_url()->keyword()).c_str()); keyword 613 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 keyword(omnibox_view_->model()->keyword()); keyword 615 chrome/browser/ui/gtk/location_bar_view_gtk.cc show_selected_keyword_ = !keyword.empty() && !is_keyword_hint; keyword 616 chrome/browser/ui/gtk/location_bar_view_gtk.cc show_keyword_hint_ = !keyword.empty() && is_keyword_hint; keyword 619 chrome/browser/ui/gtk/location_bar_view_gtk.cc SetKeywordLabel(keyword); keyword 622 chrome/browser/ui/gtk/location_bar_view_gtk.cc SetKeywordHintLabel(keyword); keyword 1189 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!omnibox_view_->model()->keyword().empty() && keyword 1278 chrome/browser/ui/gtk/location_bar_view_gtk.cc void LocationBarViewGtk::SetKeywordLabel(const base::string16& keyword) { keyword 1279 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (keyword.empty()) keyword 1289 chrome/browser/ui/gtk/location_bar_view_gtk.cc keyword, &is_extension_keyword); keyword 1303 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (last_keyword_ != keyword) { keyword 1304 chrome/browser/ui/gtk/location_bar_view_gtk.cc last_keyword_ = keyword; keyword 1308 chrome/browser/ui/gtk/location_bar_view_gtk.cc template_url_service->GetTemplateURLForKeyword(keyword); keyword 1321 chrome/browser/ui/gtk/location_bar_view_gtk.cc void LocationBarViewGtk::SetKeywordHintLabel(const base::string16& keyword) { keyword 1322 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (keyword.empty()) keyword 1332 chrome/browser/ui/gtk/location_bar_view_gtk.cc GetKeywordShortName(keyword, &is_extension_keyword); keyword 364 chrome/browser/ui/gtk/location_bar_view_gtk.h void SetKeywordLabel(const base::string16& keyword); keyword 367 chrome/browser/ui/gtk/location_bar_view_gtk.h void SetKeywordHintLabel(const base::string16& keyword); keyword 1429 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->is_keyword_hint() || model()->keyword().empty()) keyword 75 chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.cc size_t prefix_length = match.keyword.length() + 1; keyword 174 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& keyword, keyword 182 chrome/browser/ui/omnibox/omnibox_edit_model.cc keyword(keyword), keyword 262 chrome/browser/ui/omnibox/omnibox_edit_model.cc keyword_ = state->keyword; keyword 1040 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& keyword, keyword 1046 chrome/browser/ui/omnibox/omnibox_edit_model.cc bool keyword_state_changed = (keyword_ != keyword) || keyword 1047 chrome/browser/ui/omnibox/omnibox_edit_model.cc ((is_keyword_hint_ != is_keyword_hint) && !keyword.empty()); keyword 1049 chrome/browser/ui/omnibox/omnibox_edit_model.cc keyword_ = keyword; keyword 1239 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 keyword; keyword 1241 chrome/browser/ui/omnibox/omnibox_edit_model.cc match.GetKeywordUIState(profile_, &keyword, &is_keyword_hint); keyword 1248 chrome/browser/ui/omnibox/omnibox_edit_model.cc OnPopupDataChanged(inline_autocompletion, NULL, keyword, is_keyword_hint); keyword 1383 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 keyword; keyword 1385 chrome/browser/ui/omnibox/omnibox_edit_model.cc &keyword); keyword 1386 chrome/browser/ui/omnibox/omnibox_edit_model.cc return !keyword.empty() && !autocomplete_controller()->keyword_provider()-> keyword 1387 chrome/browser/ui/omnibox/omnibox_edit_model.cc GetKeywordForText(keyword).empty(); keyword 59 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& keyword, keyword 69 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16 keyword; keyword 227 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& keyword() const { return keyword_; } keyword 308 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& keyword, keyword 160 chrome/browser/ui/omnibox/omnibox_popup_model.cc base::string16 keyword; keyword 162 chrome/browser/ui/omnibox/omnibox_popup_model.cc match.GetKeywordUIState(edit_model_->profile(), &keyword, &is_keyword_hint); keyword 166 chrome/browser/ui/omnibox/omnibox_popup_model.cc keyword, is_keyword_hint); keyword 169 chrome/browser/ui/omnibox/omnibox_popup_model.cc keyword, is_keyword_hint); keyword 497 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 502 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 507 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 512 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 522 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 539 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(base::string16(), omnibox_view->model()->keyword()); keyword 830 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 836 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 842 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 851 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 857 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 866 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 872 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 879 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 889 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 899 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); keyword 907 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); keyword 915 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); keyword 925 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 932 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 953 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); keyword 958 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 980 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); keyword 1009 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword2, omnibox_view->model()->keyword()); keyword 1192 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1198 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1204 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1213 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1223 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1295 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1306 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_NE(text, omnibox_view->model()->keyword()); keyword 1314 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); keyword 1336 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 1341 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 1353 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); keyword 25 chrome/browser/ui/search_engines/edit_search_engine_controller.h const base::string16& keyword, keyword 36 chrome/browser/ui/search_engines/keyword_editor_controller.cc const base::string16& keyword, keyword 43 chrome/browser/ui/search_engines/keyword_editor_controller.cc table_model_->Add(new_index, title, keyword, url); keyword 50 chrome/browser/ui/search_engines/keyword_editor_controller.cc const base::string16& keyword, keyword 62 chrome/browser/ui/search_engines/keyword_editor_controller.cc (template_url->keyword() == keyword) && (template_url->url() == url)) keyword 65 chrome/browser/ui/search_engines/keyword_editor_controller.cc table_model_->ModifyTemplateURL(index, title, keyword, url); keyword 31 chrome/browser/ui/search_engines/keyword_editor_controller.h const base::string16& keyword, keyword 38 chrome/browser/ui/search_engines/keyword_editor_controller.h const base::string16& keyword, keyword 142 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc EXPECT_EQ(ASCIIToUTF16("b"), turl->keyword()); keyword 158 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc EXPECT_EQ(ASCIIToUTF16("b1"), turl->keyword()); keyword 126 chrome/browser/ui/search_engines/search_engine_tab_helper.cc base::string16 keyword; keyword 128 chrome/browser/ui/search_engines/search_engine_tab_helper.cc keyword = GenerateKeywordFromNavigationEntry(entry); keyword 129 chrome/browser/ui/search_engines/search_engine_tab_helper.cc if (keyword.empty()) keyword 136 chrome/browser/ui/search_engines/search_engine_tab_helper.cc keyword, doc_url, entry->GetFavicon().url, web_contents(), keyword 159 chrome/browser/ui/search_engines/search_engine_tab_helper.cc base::string16 keyword(GenerateKeywordFromNavigationEntry( keyword 161 chrome/browser/ui/search_engines/search_engine_tab_helper.cc if (keyword.empty()) keyword 176 chrome/browser/ui/search_engines/search_engine_tab_helper.cc if (!url_service->CanReplaceKeyword(keyword, url, ¤t_url)) keyword 189 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.short_name = keyword; keyword 190 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.SetKeyword(keyword); keyword 202 chrome/browser/ui/search_engines/template_url_table_model.cc return base::i18n::GetDisplayStringInLTRDirectionality(url->keyword()); keyword 265 chrome/browser/ui/search_engines/template_url_table_model.cc const base::string16& keyword, keyword 272 chrome/browser/ui/search_engines/template_url_table_model.cc data.SetKeyword(keyword); keyword 283 chrome/browser/ui/search_engines/template_url_table_model.cc const base::string16& keyword, keyword 292 chrome/browser/ui/search_engines/template_url_table_model.cc template_url_service_->ResetTemplateURL(template_url, title, keyword, url); keyword 336 chrome/browser/ui/search_engines/template_url_table_model.cc TemplateURL* keyword = GetTemplateURL(index); keyword 339 chrome/browser/ui/search_engines/template_url_table_model.cc if (current_default == keyword) keyword 343 chrome/browser/ui/search_engines/template_url_table_model.cc template_url_service_->SetDefaultSearchProvider(keyword); keyword 355 chrome/browser/ui/search_engines/template_url_table_model.cc const int new_index = IndexOfTemplateURL(keyword); keyword 63 chrome/browser/ui/search_engines/template_url_table_model.h const base::string16& keyword, keyword 69 chrome/browser/ui/search_engines/template_url_table_model.h const base::string16& keyword, keyword 128 chrome/browser/ui/views/edit_search_engine_dialog.cc keyword_tf_ = CreateTextfield(controller_->template_url()->keyword()); keyword 44 chrome/browser/ui/views/location_bar/keyword_hint_view.cc void KeywordHintView::SetKeyword(const base::string16& keyword) { keyword 45 chrome/browser/ui/views/location_bar/keyword_hint_view.cc keyword_ = keyword; keyword 57 chrome/browser/ui/views/location_bar/keyword_hint_view.cc url_service->GetKeywordShortName(keyword, &is_extension_keyword)); keyword 41 chrome/browser/ui/views/location_bar/keyword_hint_view.h void SetKeyword(const base::string16& keyword); keyword 42 chrome/browser/ui/views/location_bar/keyword_hint_view.h base::string16 keyword() const { return keyword_; } keyword 786 chrome/browser/ui/views/location_bar/location_bar_view.cc const base::string16 keyword(omnibox_view_->model()->keyword()); keyword 795 chrome/browser/ui/views/location_bar/location_bar_view.cc if (!keyword.empty() && !is_keyword_hint) { keyword 799 chrome/browser/ui/views/location_bar/location_bar_view.cc if (selected_keyword_view_->keyword() != keyword) { keyword 800 chrome/browser/ui/views/location_bar/location_bar_view.cc selected_keyword_view_->SetKeyword(keyword); keyword 803 chrome/browser/ui/views/location_bar/location_bar_view.cc GetTemplateURLForKeyword(keyword); keyword 886 chrome/browser/ui/views/location_bar/location_bar_view.cc if (!keyword.empty() && is_keyword_hint && !omnibox_view_->IsImeComposing()) { keyword 890 chrome/browser/ui/views/location_bar/location_bar_view.cc if (keyword_hint_view_->keyword() != keyword) keyword 891 chrome/browser/ui/views/location_bar/location_bar_view.cc keyword_hint_view_->SetKeyword(keyword); keyword 58 chrome/browser/ui/views/location_bar/selected_keyword_view.cc void SelectedKeywordView::SetKeyword(const base::string16& keyword) { keyword 59 chrome/browser/ui/views/location_bar/selected_keyword_view.cc keyword_ = keyword; keyword 60 chrome/browser/ui/views/location_bar/selected_keyword_view.cc if (keyword.empty()) keyword 70 chrome/browser/ui/views/location_bar/selected_keyword_view.cc model->GetKeywordShortName(keyword, &is_extension_keyword); keyword 34 chrome/browser/ui/views/location_bar/selected_keyword_view.h void SetKeyword(const base::string16& keyword); keyword 35 chrome/browser/ui/views/location_bar/selected_keyword_view.h const base::string16& keyword() const { return keyword_; } keyword 829 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->is_keyword_hint() || model()->keyword().empty() || keyword 147 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc it->associated_keyword->keyword); keyword 149 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc output->SetString(item_prefix + ".keyword", it->keyword); keyword 252 chrome/browser/ui/webui/options/search_engine_manager_handler.cc const base::string16& keyword, keyword 256 chrome/browser/ui/webui/options/search_engine_manager_handler.cc list_controller_->ModifyTemplateURL(template_url, title, keyword, url); keyword 258 chrome/browser/ui/webui/options/search_engine_manager_handler.cc list_controller_->AddTemplateURL(title, keyword, url); keyword 268 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::string16 keyword; keyword 272 chrome/browser/ui/webui/options/search_engine_manager_handler.cc !args->GetString(ENGINE_KEYWORD, &keyword) || keyword 281 chrome/browser/ui/webui/options/search_engine_manager_handler.cc validity.SetBoolean("keyword", edit_controller_->IsKeywordValid(keyword)); keyword 299 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::string16 keyword; keyword 302 chrome/browser/ui/webui/options/search_engine_manager_handler.cc !args->GetString(ENGINE_KEYWORD, &keyword) || keyword 311 chrome/browser/ui/webui/options/search_engine_manager_handler.cc edit_controller_->IsKeywordValid(keyword) && keyword 313 chrome/browser/ui/webui/options/search_engine_manager_handler.cc edit_controller_->AcceptAddOrEdit(name, keyword, url); keyword 42 chrome/browser/ui/webui/options/search_engine_manager_handler.h const base::string16& keyword, keyword 108 chrome/browser/webdata/keyword_table.cc s->BindString16(starting_column + 1, data.keyword()); keyword 600 chrome/browser/webdata/keyword_table.cc base::string16 keyword(s.ColumnString16(1)); keyword 601 chrome/browser/webdata/keyword_table.cc bool generate_keyword = keyword.empty() || s.ColumnBool(3); keyword 603 chrome/browser/webdata/keyword_table.cc keyword = placeholder_keyword; keyword 605 chrome/browser/webdata/keyword_table.cc data.SetKeyword(keyword); keyword 621 chrome/browser/webdata/keyword_table.cc keyword = TemplateURLService::GenerateKeyword(url); keyword 622 chrome/browser/webdata/keyword_table.cc while (keywords.count(keyword)) keyword 623 chrome/browser/webdata/keyword_table.cc keyword.append(base::ASCIIToUTF16("_")); keyword 626 chrome/browser/webdata/keyword_table.cc u.BindString16(0, keyword); keyword 639 chrome/browser/webdata/keyword_table.cc keywords.insert(keyword); keyword 40 chrome/browser/webdata/keyword_table_unittest.cc void AddKeyword(const TemplateURLData& keyword) const { keyword 41 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_TRUE(table_->AddKeyword(keyword)); keyword 45 chrome/browser/webdata/keyword_table_unittest.cc TemplateURLData keyword; keyword 46 chrome/browser/webdata/keyword_table_unittest.cc keyword.short_name = ASCIIToUTF16("short_name"); keyword 47 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetKeyword(ASCIIToUTF16("keyword")); keyword 48 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetURL("http://url/"); keyword 49 chrome/browser/webdata/keyword_table_unittest.cc keyword.suggestions_url = "url2"; keyword 50 chrome/browser/webdata/keyword_table_unittest.cc keyword.instant_url = "http://instant/"; keyword 51 chrome/browser/webdata/keyword_table_unittest.cc keyword.image_url = "http://image-search-url/"; keyword 52 chrome/browser/webdata/keyword_table_unittest.cc keyword.new_tab_url = "http://new-tab-url/"; keyword 53 chrome/browser/webdata/keyword_table_unittest.cc keyword.search_url_post_params = "ie=utf-8,oe=utf-8"; keyword 54 chrome/browser/webdata/keyword_table_unittest.cc keyword.image_url_post_params = "name=1,value=2"; keyword 55 chrome/browser/webdata/keyword_table_unittest.cc keyword.favicon_url = GURL("http://favicon.url/"); keyword 56 chrome/browser/webdata/keyword_table_unittest.cc keyword.originating_url = GURL("http://google.com/"); keyword 57 chrome/browser/webdata/keyword_table_unittest.cc keyword.show_in_default_list = true; keyword 58 chrome/browser/webdata/keyword_table_unittest.cc keyword.safe_for_autoreplace = true; keyword 59 chrome/browser/webdata/keyword_table_unittest.cc keyword.input_encodings.push_back("UTF-8"); keyword 60 chrome/browser/webdata/keyword_table_unittest.cc keyword.input_encodings.push_back("UTF-16"); keyword 61 chrome/browser/webdata/keyword_table_unittest.cc keyword.id = 1; keyword 62 chrome/browser/webdata/keyword_table_unittest.cc keyword.date_created = base::Time::UnixEpoch(); keyword 63 chrome/browser/webdata/keyword_table_unittest.cc keyword.last_modified = base::Time::UnixEpoch(); keyword 64 chrome/browser/webdata/keyword_table_unittest.cc keyword.created_by_policy = true; keyword 65 chrome/browser/webdata/keyword_table_unittest.cc keyword.usage_count = 32; keyword 66 chrome/browser/webdata/keyword_table_unittest.cc keyword.prepopulate_id = 10; keyword 67 chrome/browser/webdata/keyword_table_unittest.cc keyword.sync_guid = "1234-5678-90AB-CDEF"; keyword 68 chrome/browser/webdata/keyword_table_unittest.cc keyword.alternate_urls.push_back("a_url1"); keyword 69 chrome/browser/webdata/keyword_table_unittest.cc keyword.alternate_urls.push_back("a_url2"); keyword 70 chrome/browser/webdata/keyword_table_unittest.cc keyword.search_terms_replacement_key = "espv"; keyword 71 chrome/browser/webdata/keyword_table_unittest.cc AddKeyword(keyword); keyword 72 chrome/browser/webdata/keyword_table_unittest.cc return keyword; keyword 79 chrome/browser/webdata/keyword_table_unittest.cc void UpdateKeyword(const TemplateURLData& keyword) const { keyword 80 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_TRUE(table_->UpdateKeyword(keyword)); keyword 115 chrome/browser/webdata/keyword_table_unittest.cc TemplateURLData keyword(CreateAndAddKeyword()); keyword 121 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.short_name, restored_keyword.short_name); keyword 122 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.keyword(), restored_keyword.keyword()); keyword 123 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.url(), restored_keyword.url()); keyword 124 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.suggestions_url, restored_keyword.suggestions_url); keyword 125 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.instant_url, restored_keyword.instant_url); keyword 126 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.favicon_url, restored_keyword.favicon_url); keyword 127 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.originating_url, restored_keyword.originating_url); keyword 128 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.show_in_default_list, keyword 130 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.safe_for_autoreplace, keyword 132 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.input_encodings, restored_keyword.input_encodings); keyword 133 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.id, restored_keyword.id); keyword 135 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.date_created.ToTimeT(), keyword 137 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.last_modified.ToTimeT(), keyword 139 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.created_by_policy, restored_keyword.created_by_policy); keyword 140 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.usage_count, restored_keyword.usage_count); keyword 141 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.prepopulate_id, restored_keyword.prepopulate_id); keyword 153 chrome/browser/webdata/keyword_table_unittest.cc TemplateURLData keyword(CreateAndAddKeyword()); keyword 155 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetKeyword(ASCIIToUTF16("url")); keyword 156 chrome/browser/webdata/keyword_table_unittest.cc keyword.instant_url = "http://instant2/"; keyword 157 chrome/browser/webdata/keyword_table_unittest.cc keyword.originating_url = GURL("http://originating.url/"); keyword 158 chrome/browser/webdata/keyword_table_unittest.cc keyword.input_encodings.push_back("Shift_JIS"); keyword 159 chrome/browser/webdata/keyword_table_unittest.cc keyword.prepopulate_id = 5; keyword 160 chrome/browser/webdata/keyword_table_unittest.cc UpdateKeyword(keyword); keyword 166 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.short_name, restored_keyword.short_name); keyword 167 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.keyword(), restored_keyword.keyword()); keyword 168 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.suggestions_url, restored_keyword.suggestions_url); keyword 169 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.instant_url, restored_keyword.instant_url); keyword 170 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.favicon_url, restored_keyword.favicon_url); keyword 171 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.originating_url, restored_keyword.originating_url); keyword 172 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.show_in_default_list, keyword 174 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.safe_for_autoreplace, keyword 176 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.input_encodings, restored_keyword.input_encodings); keyword 177 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.id, restored_keyword.id); keyword 178 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.prepopulate_id, restored_keyword.prepopulate_id); keyword 182 chrome/browser/webdata/keyword_table_unittest.cc TemplateURLData keyword; keyword 183 chrome/browser/webdata/keyword_table_unittest.cc keyword.short_name = ASCIIToUTF16("short_name"); keyword 184 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetKeyword(ASCIIToUTF16("keyword")); keyword 185 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetURL("http://url/"); keyword 186 chrome/browser/webdata/keyword_table_unittest.cc keyword.safe_for_autoreplace = true; keyword 187 chrome/browser/webdata/keyword_table_unittest.cc keyword.id = -100; keyword 188 chrome/browser/webdata/keyword_table_unittest.cc AddKeyword(keyword); keyword 194 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.short_name, restored_keyword.short_name); keyword 195 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.keyword(), restored_keyword.keyword()); keyword 196 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.favicon_url, restored_keyword.favicon_url); keyword 197 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.safe_for_autoreplace, keyword 199 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_EQ(keyword.id, restored_keyword.id); keyword 203 chrome/browser/webdata/keyword_table_unittest.cc TemplateURLData keyword; keyword 204 chrome/browser/webdata/keyword_table_unittest.cc keyword.short_name = ASCIIToUTF16("legit"); keyword 205 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetKeyword(ASCIIToUTF16("legit")); keyword 206 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetURL("http://url/"); keyword 207 chrome/browser/webdata/keyword_table_unittest.cc keyword.id = 1000; keyword 208 chrome/browser/webdata/keyword_table_unittest.cc AddKeyword(keyword); keyword 210 chrome/browser/webdata/keyword_table_unittest.cc keyword.short_name = ASCIIToUTF16("bogus"); keyword 211 chrome/browser/webdata/keyword_table_unittest.cc keyword.SetKeyword(ASCIIToUTF16("bogus")); keyword 212 chrome/browser/webdata/keyword_table_unittest.cc keyword.id = 2000; keyword 213 chrome/browser/webdata/keyword_table_unittest.cc AddKeyword(keyword); keyword 28 chrome/common/extensions/api/omnibox/omnibox_handler.cc return info ? info->keyword : base::EmptyString(); keyword 42 chrome/common/extensions/api/omnibox/omnibox_handler.cc !dict->GetString(kKeyword, &info->keyword) || keyword 43 chrome/common/extensions/api/omnibox/omnibox_handler.cc info->keyword.empty()) { keyword 19 chrome/common/extensions/api/omnibox/omnibox_handler.h std::string keyword; keyword 89 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc EXPECT_EQ("firstkey", search_engine->keyword); keyword 52 chrome/common/importer/importer_data_types.h base::string16 keyword; keyword 201 chrome/common/importer/profile_import_process_messages.h WriteParam(m, p.keyword); keyword 208 chrome/common/importer/profile_import_process_messages.h ReadParam(m, iter, &p->keyword) && keyword 216 chrome/common/importer/profile_import_process_messages.h LogParam(p.keyword, l); keyword 86 chrome/utility/importer/firefox_importer.cc std::string keyword; keyword 310 chrome/utility/importer/firefox_importer.cc if (!item->keyword.empty() && item->url.is_valid()) { keyword 313 chrome/utility/importer/firefox_importer.cc url_keyword_info.keyword.assign(base::UTF8ToUTF16(item->keyword)); keyword 567 chrome/utility/importer/firefox_importer.cc item->keyword = s.ColumnString(4); keyword 131 google_apis/gaia/oauth_request_signer.cc std::string keyword; keyword 146 google_apis/gaia/oauth_request_signer.cc parameters[keyword] = value; keyword 147 google_apis/gaia/oauth_request_signer.cc keyword = ""; keyword 155 google_apis/gaia/oauth_request_signer.cc keyword += character; keyword 164 google_apis/gaia/oauth_request_signer.cc keyword += character; keyword 173 google_apis/gaia/oauth_request_signer.cc parameters[keyword] = value; keyword 174 google_apis/gaia/oauth_request_signer.cc keyword = ""; keyword 189 google_apis/gaia/oauth_request_signer.cc parameters[keyword] = value; keyword 688 sync/protocol/proto_value_conversions.cc SET_STR(keyword);