Home
last modified time | relevance | path

Searched refs:instant_url (Results 1 – 25 of 62) sorted by relevance

123

/external/chromium_org/chrome/browser/search/
Dsearch.cc206 const GURL instant_url = TemplateURLRefToGURL( in IsInstantURL() local
208 if (!instant_url.is_valid()) in IsInstantURL()
211 if (search::MatchesOriginAndPath(url, instant_url)) in IsInstantURL()
475 GURL instant_url = TemplateURLRefToGURL( in GetInstantURL() local
478 if (!instant_url.is_valid() || in GetInstantURL()
479 !template_url->HasSearchTermsReplacementKey(instant_url)) in GetInstantURL()
485 if (!instant_url.SchemeIsSecure() && in GetInstantURL()
486 !google_util::StartsWithCommandLineGoogleBaseURL(instant_url)) { in GetInstantURL()
490 instant_url = instant_url.ReplaceComponents(replacements); in GetInstantURL()
493 if (!IsURLAllowedForSupervisedUser(instant_url, profile)) in GetInstantURL()
[all …]
Dsearch_unittest.cc58 data.instant_url = "http://foo.com/instant?" in SetSearchProvider()
87 data.instant_url = (has_search_term_replacement_key ? in SetDefaultInstantTemplateUrl()
510 data.instant_url = "{google:baseURL}webhp?strk"; in TEST_F()
520 GURL instant_url(GetInstantURL(profile(), false)); in TEST_F() local
521 ASSERT_TRUE(instant_url.is_valid()); in TEST_F()
522 EXPECT_EQ("https://www.foo.com/webhp?strk", instant_url.spec()); in TEST_F()
529 instant_url = GetInstantURL(profile(), false); in TEST_F()
530 ASSERT_TRUE(instant_url.is_valid()); in TEST_F()
531 EXPECT_EQ("http://www.bar.com/webhp?strk", instant_url.spec()); in TEST_F()
543 instant_url = GetInstantURL(profile(), false); in TEST_F()
[all …]
Dinstant_unittest_base.cc56 data.instant_url = base_url + in SetUserSelectedDefaultSearchProvider()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_page.cc37 const std::string& InstantPage::instant_url() const { in instant_url() function in InstantPage
46 InstantPage::InstantPage(Delegate* delegate, const std::string& instant_url, in InstantPage() argument
50 instant_url_(instant_url), in InstantPage()
Dinstant_test_utils.cc61 data.instant_url = instant_url_.spec(); in SetupInstant()
81 data.instant_url = url; in SetInstantURL()
88 void InstantTestBase::Init(const GURL& instant_url, in Init() argument
91 instant_url_ = instant_url; in Init()
Dinstant_extended_interactive_uitest.cc149 GURL instant_url = https_test_server().GetURL( in SetUpInProcessBrowserTestFixture() local
153 InstantTestBase::Init(instant_url, ntp_url, false); in SetUpInProcessBrowserTestFixture()
264 GURL instant_url = https_test_server().GetURL( in SetUpInProcessBrowserTestFixture() local
268 InstantTestBase::Init(instant_url, ntp_url, true); in SetUpInProcessBrowserTestFixture()
322 GURL instant_url = https_test_server().GetURL( in SetUpInProcessBrowserTestFixture() local
326 InstantTestBase::Init(instant_url, ntp_url, false); in SetUpInProcessBrowserTestFixture()
427 SetOmniboxText(instant_url().Resolve("#q=puppies").spec()); in IN_PROC_BROWSER_TEST_F()
823 fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), in IN_PROC_BROWSER_TEST_F()
841 instant_url().Resolve("#q=pup"), in IN_PROC_BROWSER_TEST_F()
886 fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), in IN_PROC_BROWSER_TEST_F()
[all …]
Dlocal_ntp_browsertest.cc26 GURL instant_url = https_test_server().GetURL( in SetUpInProcessBrowserTestFixture() local
30 InstantTestBase::Init(instant_url, ntp_url, false); in SetUpInProcessBrowserTestFixture()
Dinstant_page.h61 virtual const std::string& instant_url() const;
74 InstantPage(Delegate* delegate, const std::string& instant_url,
Dinstant_test_utils.h42 void Init(const GURL& instant_url, const GURL& ntp_url,
63 const GURL& instant_url() const { return instant_url_; } in instant_url() function
/external/chromium_org/chrome/browser/webdata/
Dkeyword_table_unittest.cc50 keyword.instant_url = "http://instant/"; in CreateAndAddKeyword()
125 EXPECT_EQ(keyword.instant_url, restored_keyword.instant_url); in TEST_F()
156 keyword.instant_url = "http://instant2/"; in TEST_F()
169 EXPECT_EQ(keyword.instant_url, restored_keyword.instant_url); in TEST_F()
/external/chromium_org/components/test/data/web_database/
Dversion_45_invalid.sql23 …R,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
39 instant_url TEXT, field
Dversion_43.sql10 …EFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
12 …EFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
Dversion_45_compatible.sql23 …R,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
39 instant_url TEXT, field
Dversion_45.sql23 …R,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
39 instant_url TEXT, field
Dversion_46.sql23 …R,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
24 …ult_list INT,suggest_url TEXT,prepopulate_id INT,created_by_policy INT,instant_url TEXT,last_modif… field
Dversion_47.sql10 …R,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
26 instant_url TEXT, field
Dversion_44.sql8 …EFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
26 instant_url TEXT, field
Dversion_37.sql8 …TEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR); field
Dversion_35.sql8 …TEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR); field
Dversion_38.sql8 …EFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_mo… field
Dversion_33.sql8 …TEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR); field
Dversion_29.sql8 …TEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR); field
/external/chromium_org/components/search_engines/
Dtemplate_url_prepopulate_data_unittest.cc148 EXPECT_TRUE(t_urls[0]->instant_url.empty()); in TEST_F()
175 t_urls[0]->instant_url); in TEST_F()
242 EXPECT_FALSE(t_urls[default_index]->instant_url.empty()); in TEST_F()
276 EXPECT_FALSE(t_urls[default_index]->instant_url.empty()); in TEST_F()
Dtemplate_url_data.h39 std::string instant_url; member
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/
Dsettings_overrides_api.cc84 if (search_provider.instant_url) { in ConvertSearchProvider()
85 data.instant_url = in ConvertSearchProvider()
86 SubstituteInstallParam(*search_provider.instant_url, install_parameter); in ConvertSearchProvider()

123