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

12

/external/chromium_org/chrome/browser/search/
H A Dsearch.cc226 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 Dsearch_unittest.cc180 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 Dinstant_unittest_base.cc59 data.new_tab_url = base_url + "newtab";
/external/chromium_org/components/search_engines/
H A Dtemplate_url_data.h41 std::string new_tab_url; member in struct:TemplateURLData
/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/search/
H A Dinstant_test_utils.cc62 data.new_tab_url = ntp_url_.spec();
H A Dsearch_tab_helper_unittest.cc327 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/chrome/browser/search_engines/
H A Dtemplate_url_prepopulate_data_unittest.cc247 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty());
281 EXPECT_FALSE(t_urls[default_index]->new_tab_url.empty());
H A Dtemplate_url_prepopulate_data.cc1056 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 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.h510 const std::string& new_tab_url() const { return data_.new_tab_url; } function in class:TemplateURL
H A Dtemplate_url_service.cc320 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 Dtemplate_url.cc272 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 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_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/";
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=?"));
/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.cc199 data.new_tab_url = "http://example.com/newtab.html";
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_browsertest.cc1162 GURL new_tab_url(chrome::kChromeUINewTabURL);
1163 ui_test_utils::NavigateToURL(browser(), new_tab_url); local
/external/chromium_org/sync/protocol/
H A Dproto_value_conversions.cc736 SET_STR(new_tab_url);

Completed in 219 milliseconds

12