HomeSort by relevance Sort by last modified time
    Searched refs:template_url_ (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/chrome/browser/search_engines/
template_url_parser_unittest.cc 60 // data dir). The TemplateURL is placed in |template_url_|.
65 scoped_ptr<TemplateURL> template_url_; member in class:TemplateURLParserTest
102 template_url_.reset(TemplateURLParser::Parse(NULL, false, contents.data(),
113 EXPECT_FALSE(template_url_.get());
120 EXPECT_TRUE(template_url_.get());
127 EXPECT_FALSE(template_url_.get());
134 ASSERT_TRUE(template_url_.get());
135 EXPECT_EQ(ASCIIToUTF16("Dictionary.com"), template_url_->short_name());
137 template_url_->favicon_url());
138 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement())
    [all...]
template_url_fetcher.cc 68 scoped_ptr<TemplateURL> template_url_; member in class:TemplateURLFetcher::RequestDelegate
128 if (!template_url_.get())
152 template_url_.reset(TemplateURLParser::Parse(fetcher_->profile(), false,
154 if (!template_url_.get() || !template_url_->url_ref().SupportsReplacement()) {
166 keyword_ = template_url_->keyword();
180 DCHECK(template_url_.get());
188 if (model->CanReplaceKeyword(keyword_, GURL(template_url_->url()),
199 TemplateURLData data(template_url_->data());
  /external/chromium/chrome/browser/search_engines/
template_url_parser_unittest.cc 34 // the data dir). The TemplateURL is placed in template_url_.
50 contents.length(), filter, &template_url_);
54 TemplateURL template_url_; member in class:TemplateURLParserTest
88 EXPECT_EQ(ASCIIToUTF16("Dictionary.com"), template_url_.short_name());
89 EXPECT_TRUE(template_url_.GetFaviconURL() ==
91 EXPECT_TRUE(template_url_.url() != NULL);
92 EXPECT_TRUE(template_url_.url()->SupportsReplacement());
93 EXPECT_EQ(template_url_.url()->url(),
102 EXPECT_EQ(ASCIIToUTF16("Search \" MSDN"), template_url_.short_name());
103 EXPECT_TRUE(template_url_.GetFaviconURL() =
    [all...]
template_url_fetcher.cc 64 scoped_ptr<TemplateURL> template_url_; member in class:TemplateURLFetcher::RequestDelegate
113 if (!template_url_.get())
126 template_url_.reset(new TemplateURL());
140 template_url_.get()) ||
141 !template_url_->url() || !template_url_->url()->SupportsReplacement()) {
156 DCHECK(template_url_.get());
162 GURL keyword_url(template_url_->url()->url());
172 !model->CanReplaceKeyword(keyword_, GURL(template_url_->url()->url()),
195 GURL(template_url_->url()->url())
    [all...]
  /external/chromium/chrome/browser/ui/search_engines/
edit_search_engine_controller.cc 20 : template_url_(template_url),
45 if (template_url_ ==
66 return (turl_with_keyword == NULL || turl_with_keyword == template_url_);
80 (!edit_keyword_delegate_ || existing != template_url_)) {
92 // Confiming an entry we got from JS. We have a template_url_, but it
94 DCHECK(template_url_);
98 TemplateURL* modifiable_url = const_cast<TemplateURL*>(template_url_);
102 // TemplateURLModel takes ownership of template_url_.
108 edit_keyword_delegate_->OnEditedKeyword(template_url_,
116 if (!edit_keyword_delegate_ && template_url_) {
    [all...]
edit_search_engine_controller.h 68 const TemplateURL* template_url() const { return template_url_; }
79 const TemplateURL* template_url_; member in class:EditSearchEngineController
template_url_table_model.cc 39 : template_url_(template_url),
49 return template_url_;
85 if (template_url_.url() && template_url_.url()->IsValid()) {
86 GURL url = GURL(template_url_.url()->url());
110 const TemplateURL& template_url_; member in class:ModelEntry
  /external/chromium_org/chrome/browser/ui/search_engines/
edit_search_engine_controller.cc 23 : template_url_(template_url),
42 // TemplateURL owner because |template_url_| might be NULL and we can't call
54 (template_url_ == TemplateURLServiceFactory::GetForProfile(profile_)->
72 return (turl_with_keyword == NULL || turl_with_keyword == template_url_);
87 if (existing && (!edit_keyword_delegate_ || existing != template_url_)) {
99 // Confiming an entry we got from JS. We have a template_url_, but it
101 DCHECK(template_url_);
102 // TemplateURLService takes ownership of template_url_.
103 template_url_service->AddWithOverrides(template_url_, title_input,
108 edit_keyword_delegate_->OnEditedKeyword(template_url_, title_input
    [all...]
edit_search_engine_controller.h 67 const TemplateURL* template_url() const { return template_url_; }
78 TemplateURL* template_url_; member in class:EditSearchEngineController
template_url_table_model.cc 44 : template_url_(template_url),
54 return template_url_;
89 if (template_url_->url_ref().IsValid()) {
90 GURL url(template_url_->url());
113 TemplateURL* template_url_; member in class:ModelEntry

Completed in 557 milliseconds