Lines Matching refs:model_
84 model_->Observe(
98 TemplateURLModel* model_;
115 model_ = profile_->GetTemplateURLModel();
117 model_->OnWebDataServiceRequestDone(0, NULL);
136 ASSERT_EQ(1U, model_->GetTemplateURLs().size());
139 const TemplateURL* turl = model_->GetTemplateURLs()[0];
152 const TemplateURL* turl = model_->GetTemplateURLs()[0];
168 const TemplateURL* turl = model_->GetTemplateURLs()[0];
175 ASSERT_TRUE(model_->GetDefaultSearchProvider() == turl);
190 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b"));
193 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b1"));
200 EXPECT_TRUE(model_->is_default_search_managed());
214 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b"));
217 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b1"));
226 EXPECT_TRUE(model_->is_default_search_managed());
229 EXPECT_FALSE(controller_->CanEdit(model_->GetDefaultSearchProvider()));
250 model_->Add(turl);