| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 5aaa078244b70050da9d3252f15b93aae4826f86..7886443712e0fd62fbdda65de7ecadecda8492e9 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -991,7 +991,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, ForceSafeSearch) {
|
| IN_PROC_BROWSER_TEST_F(PolicyTest, ReplaceSearchTerms) {
|
| MakeRequestFail make_request_fail("search.example");
|
|
|
| - chrome::EnableInstantExtendedAPIForTesting();
|
| + chrome::EnableQueryExtractionForTesting();
|
|
|
| // Verifies that a default search is made using the provider configured via
|
| // policy. Also checks that default search can be completely disabled.
|
| @@ -1331,7 +1331,8 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, DeveloperToolsDisabled) {
|
| EXPECT_FALSE(DevToolsWindow::GetDockedInstanceForInspectedTab(contents));
|
| }
|
|
|
| -IN_PROC_BROWSER_TEST_F(PolicyTest, WebStoreIconHidden) {
|
| +// TODO(samarth): remove along with rest of NTP4 code.
|
| +IN_PROC_BROWSER_TEST_F(PolicyTest, DISABLED_WebStoreIconHidden) {
|
| #if defined(OS_WIN) && defined(USE_ASH)
|
| // Disable this test in Metro+Ash for now (http://crbug.com/262796).
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests))
|
| @@ -1714,7 +1715,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, HomepageLocation) {
|
| UpdateProviderPolicy(policies);
|
| EXPECT_TRUE(chrome::ExecuteCommand(browser(), IDC_HOME));
|
| content::WaitForLoadStop(contents);
|
| - EXPECT_TRUE(chrome::IsNTPURL(contents->GetURL(),browser()->profile()));
|
| + EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), contents->GetURL());
|
| }
|
|
|
| IN_PROC_BROWSER_TEST_F(PolicyTest, IncognitoEnabled) {
|
|
|