Searched refs:new_tab_url (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/search/
H A Dsearch.cc192 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 Dinstant_unittest_base.cc59 data.new_tab_url = base_url + "newtab";
H A Dsearch_unittest.cc61 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 Dtemplate_url_data.h41 std::string new_tab_url; member in struct:TemplateURLData
H A Dtemplate_url_prepopulate_data_unittest.cc244 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty());
278 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty());
H A Dtemplate_url_prepopulate_data.cc1043 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 Ddefault_search_manager.cc50 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 Dtemplate_url.h530 const std::string& new_tab_url() const { return data_.new_tab_url; } function in class:TemplateURL
H A Dtemplate_url_service.cc281 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 Dkeyword_table.cc80 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 Dtemplate_url.cc279 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 Dsettings_overrides_browsertest.cc111 EXPECT_EQ(default_provider->new_tab_url(), extension_provider->new_tab_url());
/external/chromium_org/chrome/browser/
H A Dchrome_content_browser_client_unittest.cc111 data.new_tab_url = new_tab_page_url.spec();
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_view_browsertest.cc201 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 Dinstant_test_utils.cc62 data.new_tab_url = ntp_url_.spec();
H A Dsearch_tab_helper_unittest.cc330 data.new_tab_url = std::string("https://foo.com/newtab?strk");
H A Dsearch_ipc_router_unittest.cc110 data.new_tab_url = "https://foo.com/newtab?espv";
/external/chromium_org/components/test/data/web_database/
H A Dversion_54.sql8 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 Dversion_55.sql10 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 Dversion_56.sql10 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 Dversion_57.sql10 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 Dversion_53.sql8 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 Dkeyword_table_unittest.cc52 keyword.new_tab_url = "http://new-tab-url/";
/external/chromium_org/chrome/browser/profile_resetter/
H A Dautomatic_profile_resetter_delegate.cc59 tree->SetString("new_tab_url", template_url->new_tab_url());
H A Dautomatic_profile_resetter_delegate_unittest.cc200 data.new_tab_url = "http://example.com/newtab.html";

Completed in 242 milliseconds

12