/external/chromium_org/chrome/browser/search/ |
H A D | search.cc | 226 const GURL new_tab_url(GetNewTabPageURL(profile)); 227 if (new_tab_url.is_valid() && 228 search::MatchesOriginAndPath(url, new_tab_url)) 296 // Returns whether |new_tab_url| can be used as a URL for the New Tab page. 298 NewTabURLState IsValidNewTabURL(Profile* profile, const GURL& new_tab_url) { argument 301 if (!new_tab_url.is_valid()) 303 if (!new_tab_url.SchemeIsSecure()) 305 if (!IsURLAllowedForSupervisedUser(new_tab_url, profile)) 520 GURL new_tab_url(GetNewTabPageURL(profile)); 521 return new_tab_url [all...] |
H A D | search_unittest.cc | 180 data.new_tab_url = (insecure_ntp_url ? "http" : "https") + 520 // The new_tab_url gets set after the first NTP is visible. 529 GURL new_tab_url(chrome::kChromeUINewTabURL); 530 EXPECT_FALSE(HandleNewTabURLRewrite(&new_tab_url, profile())); 531 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), new_tab_url); local 539 GURL new_tab_url(chrome::kChromeUINewTabURL); 540 EXPECT_TRUE(HandleNewTabURLRewrite(&new_tab_url, profile())); 541 EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); local 549 GURL new_tab_url(chrome::kChromeUINewTabURL); 550 EXPECT_TRUE(HandleNewTabURLRewrite(&new_tab_url, profil 551 EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); local 568 EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); local [all...] |
H A D | instant_unittest_base.cc | 59 data.new_tab_url = base_url + "newtab";
|
/external/chromium_org/components/search_engines/ |
H A D | template_url_data.h | 41 std::string new_tab_url; member in struct:TemplateURLData
|
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/ |
H A D | settings_overrides_browsertest.cc | 111 EXPECT_EQ(default_provider->new_tab_url(), extension_provider->new_tab_url());
|
/external/chromium_org/chrome/browser/ |
H A D | chrome_content_browser_client_unittest.cc | 111 data.new_tab_url = new_tab_page_url.spec();
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_test_utils.cc | 62 data.new_tab_url = ntp_url_.spec();
|
H A D | search_tab_helper_unittest.cc | 327 data.new_tab_url = std::string("https://foo.com/newtab?strk");
|
H A D | search_ipc_router_unittest.cc | 110 data.new_tab_url = "https://foo.com/newtab?espv";
|
/external/chromium_org/chrome/browser/search_engines/ |
H A D | template_url_prepopulate_data_unittest.cc | 247 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty()); 281 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty());
|
H A D | template_url_prepopulate_data.cc | 1056 const base::StringPiece& new_tab_url, 1075 data->new_tab_url = new_tab_url.as_string(); 1130 std::string new_tab_url; local 1142 engine->GetString("new_tab_url", &new_tab_url); 1152 search_url, suggest_url, instant_url, image_url, new_tab_url, 1177 engine.new_tab_url, 1049 MakePrepopulatedTemplateURLData( const base::string16& name, const base::string16& keyword, const base::StringPiece& search_url, const base::StringPiece& suggest_url, const base::StringPiece& instant_url, const base::StringPiece& image_url, const base::StringPiece& new_tab_url, const base::StringPiece& contextual_search_url, const base::StringPiece& search_url_post_params, const base::StringPiece& suggest_url_post_params, const base::StringPiece& instant_url_post_params, const base::StringPiece& image_url_post_params, const base::StringPiece& favicon_url, const base::StringPiece& encoding, const base::ListValue& alternate_urls, const base::StringPiece& search_terms_replacement_key, int id) argument
|
H A D | default_search_manager.cc | 50 const char DefaultSearchManager::kNewTabURL[] = "new_tab_url"; 171 url_dict.SetString(kNewTabURL, data.new_tab_url); 330 url_dict->GetString(kNewTabURL, &prefs_default_search_->new_tab_url);
|
H A D | template_url.h | 510 const std::string& new_tab_url() const { return data_.new_tab_url; } function in class:TemplateURL
|
H A D | template_url_service.cc | 320 std::string new_tab_url = local 349 (*default_provider_data)->new_tab_url = new_tab_url; 426 std::string new_tab_url; local 446 new_tab_url = t_url->new_tab_url(); 468 prefs->SetString(prefs::kDefaultSearchProviderNewTabURL, new_tab_url); 1312 se_specifics->set_new_tab_url(turl.new_tab_url()); 1377 data.new_tab_url = specifics.new_tab_url(); [all...] |
H A D | template_url.cc | 272 case NEW_TAB: return owner_->new_tab_url(); 1182 (t_url->new_tab_url() == data->new_tab_url) &&
|
/external/chromium_org/components/test/data/web_database/ |
H A D | version_54.sql | 8 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR,search_terms_replacement_key VARCHAR,image_url VARCHAR,search_url_post_params VARCHAR,suggest_url_post_params VARCHAR,instant_url_post_params VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR);
|
H A D | version_55.sql | 10 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR,search_terms_replacement_key VARCHAR,image_url VARCHAR,search_url_post_params VARCHAR,suggest_url_post_params VARCHAR,instant_url_post_params VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR);
|
H A D | version_56.sql | 10 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR,search_terms_replacement_key VARCHAR,image_url VARCHAR,search_url_post_params VARCHAR,suggest_url_post_params VARCHAR,instant_url_post_params VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR);
|
H A D | version_53.sql | 8 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR,search_terms_replacement_key VARCHAR,image_url VARCHAR,search_url_post_params VARCHAR,suggest_url_post_params VARCHAR,instant_url_post_params VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR);
|
/external/chromium_org/chrome/browser/webdata/ |
H A D | keyword_table_unittest.cc | 52 keyword.new_tab_url = "http://new-tab-url/";
|
H A D | keyword_table.cc | 80 columns.push_back("new_tab_url"); 133 s->BindString(starting_column + 23, data.new_tab_url); 185 "new_tab_url VARCHAR)"); 450 return db_->Execute("ALTER TABLE keywords ADD COLUMN new_tab_url " 471 data->new_tab_url = s.ColumnString(24); 537 "image_url_post_params=?, new_tab_url=? WHERE id=?"));
|
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | automatic_profile_resetter_delegate.cc | 59 tree->SetString("new_tab_url", template_url->new_tab_url());
|
H A D | automatic_profile_resetter_delegate_unittest.cc | 199 data.new_tab_url = "http://example.com/newtab.html";
|
/external/chromium_org/chrome/browser/ui/ |
H A D | browser_browsertest.cc | 1162 GURL new_tab_url(chrome::kChromeUINewTabURL); 1163 ui_test_utils::NavigateToURL(browser(), new_tab_url); local
|
/external/chromium_org/sync/protocol/ |
H A D | proto_value_conversions.cc | 736 SET_STR(new_tab_url);
|