/external/chromium_org/chrome/browser/search/ |
H A D | search.cc | 192 const GURL new_tab_url(GetNewTabPageURL(profile)); 193 if (new_tab_url.is_valid() && 194 search::MatchesOriginAndPath(url, new_tab_url)) 262 // Returns whether |new_tab_url| can be used as a URL for the New Tab page. 264 NewTabURLState IsValidNewTabURL(Profile* profile, const GURL& new_tab_url) { argument 267 if (!new_tab_url.is_valid()) 269 if (!new_tab_url.SchemeIsSecure()) 271 if (!IsURLAllowedForSupervisedUser(new_tab_url, profile)) 457 GURL new_tab_url(GetNewTabPageURL(profile)); 458 return new_tab_url [all...] |
H A D | instant_unittest_base.cc | 59 data.new_tab_url = base_url + "newtab";
|
H A D | search_unittest.cc | 61 data.new_tab_url = (insecure_ntp_url ? "http" : "https") + 400 // The new_tab_url gets set after the first NTP is visible. 409 GURL new_tab_url(chrome::kChromeUINewTabURL); 410 EXPECT_FALSE(HandleNewTabURLRewrite(&new_tab_url, profile())); 411 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), new_tab_url); local 419 GURL new_tab_url(chrome::kChromeUINewTabURL); 420 EXPECT_TRUE(HandleNewTabURLRewrite(&new_tab_url, profile())); 421 EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); local 429 GURL new_tab_url(chrome::kChromeUINewTabURL); 430 EXPECT_TRUE(HandleNewTabURLRewrite(&new_tab_url, profil 431 EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); local 448 EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); local [all...] |
/external/chromium_org/components/search_engines/ |
H A D | template_url_data.h | 41 std::string new_tab_url; member in struct:TemplateURLData
|
H A D | template_url_prepopulate_data_unittest.cc | 244 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty()); 278 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty());
|
H A D | template_url_prepopulate_data.cc | 1043 const base::StringPiece& new_tab_url, 1062 data->new_tab_url = new_tab_url.as_string(); 1117 std::string new_tab_url; local 1129 engine->GetString("new_tab_url", &new_tab_url); 1139 search_url, suggest_url, instant_url, image_url, new_tab_url, 1164 engine.new_tab_url, 1036 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 | 530 const std::string& new_tab_url() const { return data_.new_tab_url; } function in class:TemplateURL
|
H A D | template_url_service.cc | 281 std::string new_tab_url = local 310 (*default_provider_data)->new_tab_url = new_tab_url; 387 std::string new_tab_url; local 407 new_tab_url = t_url->new_tab_url(); 429 prefs->SetString(prefs::kDefaultSearchProviderNewTabURL, new_tab_url); 1279 se_specifics->set_new_tab_url(turl.new_tab_url()); 1345 data.new_tab_url = specifics.new_tab_url(); [all...] |
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=?"));
|
H A D | template_url.cc | 279 case NEW_TAB: return owner_->new_tab_url(); 1221 (t_url->new_tab_url() == data->new_tab_url) &&
|
/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/views/frame/ |
H A D | browser_view_browsertest.cc | 201 GURL new_tab_url(chrome::kChromeUINewTabURL); 203 ui_test_utils::NavigateToURL(browser(), new_tab_url); local
|
/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 | 330 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/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_57.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/";
|
/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 | 200 data.new_tab_url = "http://example.com/newtab.html";
|