/external/chromium_org/chrome/browser/search_engines/ |
template_url_fetcher_callbacks.h | 9 class TemplateURL; 19 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
|
template_url_parser.h | 13 class TemplateURL; 30 // Decodes the chunk of data representing a TemplateURL, creates the 31 // TemplateURL, and returns it. The caller owns the returned object. 33 // thread. Returns NULL if data does not describe a valid TemplateURL, the 35 // other reason we do not support the described TemplateURL. 40 static TemplateURL* Parse(Profile* profile,
|
util.h | 18 class TemplateURL; 32 TemplateURL* FindURLByPrepopulateID( 38 void MergeIntoPrepopulatedEngineData(const TemplateURL* original_turl, 57 typedef std::pair<TemplateURL*, TemplateURLData> EditedSearchEngine; 78 const TemplateURL* default_search_provider); 83 // TemplateURL* returned in template_urls. 97 TemplateURL* default_search_provider, 113 TemplateURL* default_search_provider, 131 TemplateURL* default_search_provider,
|
search_host_to_urls_map.h | 20 typedef std::set<TemplateURL*> TemplateURLSet; 29 // Adds a new TemplateURL to the map. Since |template_url| is owned 31 void Add(TemplateURL* template_url, 34 // Removes the TemplateURL from the lookup. 35 void Remove(TemplateURL* template_url, 38 // Returns the first TemplateURL found with a URL using the specified |host|, 40 TemplateURL* GetTemplateURLForHost(const std::string& host); 58 void RemoveByPointer(TemplateURL* template_url);
|
search_provider_install_data.h | 20 class TemplateURL; 66 void OnTemplateURLsLoaded(ScopedVector<TemplateURL> template_urls, 67 TemplateURL* default_provider); 70 void SetDefault(const TemplateURL* template_url); 91 ScopedVector<TemplateURL> template_urls_;
|
template_url_service.h | 34 class TemplateURL; 64 // TemplateURLService takes ownership of any TemplateURL passed to it. If there 74 typedef std::vector<TemplateURL*> TemplateURLVector; 81 // Each initializer is mapped to a TemplateURL. 122 static void SaveDefaultSearchProviderToPrefs(const TemplateURL* url, 125 // Returns true if there is no TemplateURL that conflicts with the 131 // a TemplateURL for an existing TemplateURL that shares the same host. 134 TemplateURL** template_url_to_replace); 147 TemplateURL* GetTemplateURLForKeyword(const base::string16& keyword) [all...] |
search_host_to_urls_map_unittest.cc | 23 scoped_ptr<TemplateURL> t_urls_[2]; 34 t_urls_[0].reset(new TemplateURL(data)); 36 t_urls_[1].reset(new TemplateURL(data)); 37 std::vector<TemplateURL*> template_urls; 49 TemplateURL new_t_url(data); 58 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(host_); 73 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(host_); 78 const TemplateURL* found_url = 90 const TemplateURL* url = *i;
|
template_url_prepopulate_data.h | 21 class TemplateURL; 67 SearchEngineType GetEngineType(const TemplateURL& template_url,
|
default_search_pref_migration_unittest.cc | 29 scoped_ptr<TemplateURL> CreateKeyword(const std::string& short_name, 57 scoped_ptr<TemplateURL> DefaultSearchPrefMigrationTest::CreateKeyword( 65 scoped_ptr<TemplateURL> t_url(new TemplateURL(data)); 70 scoped_ptr<TemplateURL> t_url( 91 scoped_ptr<TemplateURL> t_url( 121 scoped_ptr<TemplateURL> t_url( 123 scoped_ptr<TemplateURL> t_url2( 153 TemplateURL prepopulated_turl(prepopulated_default);
|
template_url_service_unittest.cc | 87 TemplateURL* CreateKeywordWithDate( 113 return new TemplateURL(data); 116 TemplateURL* AddKeywordWithDate( 128 TemplateURL* t_url = CreateKeywordWithDate( 138 void ExpectSimilar(const TemplateURL* expected, const TemplateURL* actual) { 167 TemplateURL* AddKeywordWithDate(const std::string& short_name, 179 void AssertEquals(const TemplateURL& expected, const TemplateURL& actual); 182 // current data. The caller owns the returned TemplateURL* [all...] |
template_url_service.cc | 58 bool IdenticalSyncGUIDs(const TemplateURLData* data, const TemplateURL* turl) { 131 // this so that code can calculate a TemplateURL's previous search URL after a 162 bool IsFromSync(const TemplateURL* turl, const SyncDataMap& sync_data) { 416 const TemplateURL* t_url, 440 DCHECK_EQ(TemplateURL::NORMAL, t_url->GetType()); 491 TemplateURL** template_url_to_replace) { 495 TemplateURL* existing_url = GetTemplateURLForKeyword(keyword); 499 // We already have a TemplateURL for this keyword. Only allow it to be 500 // replaced if the TemplateURL can be replaced. 504 // We don't have a TemplateURL with keyword. Only allow a new one if ther [all...] |
/external/chromium_org/chrome/browser/ui/search_engines/ |
search_engine_tab_helper_delegate.h | 9 class TemplateURL; 21 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
|
keyword_editor_controller.h | 16 class TemplateURL; 34 // Invoked when the user modifies a TemplateURL. Updates the 36 void ModifyTemplateURL(TemplateURL* template_url, 42 bool CanEdit(const TemplateURL* url) const; 45 bool CanMakeDefault(const TemplateURL* url) const; 48 bool CanRemove(const TemplateURL* url) const; 50 // Remove the TemplateURL at the specified index in the TableModel. 53 // Make the TemplateURL at the specified index (into the TableModel) the 60 // Return the TemplateURL corresponding to the |index| in the model. 61 TemplateURL* GetTemplateURL(int index) [all...] |
edit_search_engine_controller.h | 14 class TemplateURL; 21 // indicates a new TemplateURL should be created rather than modifying an 22 // existing TemplateURL. 23 virtual void OnEditedKeyword(TemplateURL* template_url, 38 TemplateURL* template_url, 62 // Deletes an unused TemplateURL, if its add was cancelled and it's not 67 const TemplateURL* template_url() const { return template_url_; } 72 // suitable for use by TemplateURL. 75 // The TemplateURL we're displaying information for. It may be NULL. If we 76 // have a keyword_editor_view, we assume that this TemplateURL is already i [all...] |
keyword_editor_controller.cc | 48 void KeywordEditorController::ModifyTemplateURL(TemplateURL* template_url, 70 bool KeywordEditorController::CanEdit(const TemplateURL* url) const { 71 return (url->GetType() != TemplateURL::NORMAL_CONTROLLED_BY_EXTENSION) && 76 bool KeywordEditorController::CanMakeDefault(const TemplateURL* url) const { 80 bool KeywordEditorController::CanRemove(const TemplateURL* url) const { 97 TemplateURL* KeywordEditorController::GetTemplateURL(int index) {
|
template_url_fetcher_ui_callbacks.cc | 32 TemplateURL* template_url, 34 scoped_ptr<TemplateURL> owned_template_url(template_url);
|
/external/chromium_org/chrome/browser/ui/views/ |
browser_dialogs.h | 22 class TemplateURL; 35 TemplateURL* template_url,
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
search_engines_helper.h | 14 class TemplateURL; 17 typedef std::map<std::string, const TemplateURL*> GUIDToTURLMap; 34 // Create a TemplateURL with some test values based on |seed|. The caller owns 35 // the returned TemplateURL*. 36 TemplateURL* CreateTestTemplateURL(Profile* profile, 40 TemplateURL* CreateTestTemplateURL(Profile* profile,
|
search_engines_helper.cc | 40 std::string GetTURLInfoString(const TemplateURL* turl) { 42 return "TemplateURL: shortname: " + base::UTF16ToASCII(turl->short_name()) + 47 bool TURLsMatch(const TemplateURL* turl1, const TemplateURL* turl2) { 92 const TemplateURL* default_a = service_a->GetDefaultSearchProvider(); 93 const TemplateURL* default_b = service_b->GetDefaultSearchProvider(); 145 const TemplateURL* verifier_turl = verifier_turls.at(i); 147 const TemplateURL* other_turl = other->GetTemplateURLForKeyword( 179 TemplateURL* CreateTestTemplateURL(Profile* profile, int seed) { 184 TemplateURL* CreateTestTemplateURL(Profile* profile [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
keyword_extensions_delegate.h | 22 class TemplateURL; 45 const TemplateURL* template_url,
|
keyword_extensions_delegate.cc | 25 const TemplateURL* template_url,
|
keyword_provider.h | 25 class TemplateURL; 78 static const TemplateURL* GetSubstitutingTemplateURLForInput( 127 const TemplateURL* template_url, 137 const TemplateURL* element,
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_current_page_delegate.h | 15 class TemplateURL; 55 virtual bool ProcessExtensionKeyword(TemplateURL* template_url,
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
edit_search_engine_cocoa_controller.h | 13 class TemplateURL; 16 // engine. If constructed with a nil |templateURL| then it is an add operation, 34 TemplateURL* templateURL_; // weak 40 templateURL:(TemplateURL*)url;
|
/external/chromium_org/chrome/browser/importer/ |
profile_writer.h | 22 class TemplateURL; 86 // If |unique_on_host_and_path| is true, a TemplateURL is only added if there 87 // is not an existing TemplateURL that has a replaceable search url with the 89 virtual void AddKeywords(ScopedVector<TemplateURL> template_urls,
|