Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3480)

Unified Diff: chrome/browser/ui/search/instant_page_unittest.cc

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/instant_page.cc ('k') | chrome/browser/ui/search/instant_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page_unittest.cc
diff --git a/chrome/browser/ui/search/instant_page_unittest.cc b/chrome/browser/ui/search/instant_page_unittest.cc
index 63ea4e792488fb38b3319a4d84d5169322f4f2f7..0064d021d90b997384a7b9365de50cfa88b48865 100644
--- a/chrome/browser/ui/search/instant_page_unittest.cc
+++ b/chrome/browser/ui/search/instant_page_unittest.cc
@@ -65,7 +65,7 @@ void InstantPageTest::SetUp() {
}
TEST_F(InstantPageTest, IsLocal) {
- page.reset(new InstantPage(&delegate, "", NULL, false));
+ page.reset(new InstantPage(&delegate, "", NULL));
EXPECT_FALSE(page->supports_instant());
EXPECT_FALSE(page->IsLocal());
page->SetContents(web_contents());
@@ -76,7 +76,7 @@ TEST_F(InstantPageTest, IsLocal) {
}
TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_Local) {
- page.reset(new InstantPage(&delegate, "", NULL, false));
+ page.reset(new InstantPage(&delegate, "", NULL));
EXPECT_FALSE(page->supports_instant());
page->SetContents(web_contents());
NavigateAndCommit(GURL(chrome::kChromeSearchLocalNtpUrl));
@@ -89,7 +89,7 @@ TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_Local) {
}
TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_NonLocal) {
- page.reset(new InstantPage(&delegate, "", NULL, false));
+ page.reset(new InstantPage(&delegate, "", NULL));
EXPECT_FALSE(page->supports_instant());
page->SetContents(web_contents());
NavigateAndCommit(GURL("chrome-search://foo/bar"));
@@ -104,7 +104,7 @@ TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_NonLocal) {
}
TEST_F(InstantPageTest, PageURLDoesntBelongToInstantRenderer) {
- page.reset(new InstantPage(&delegate, "", NULL, false));
+ page.reset(new InstantPage(&delegate, "", NULL));
EXPECT_FALSE(page->supports_instant());
NavigateAndCommit(GURL(chrome::kChromeSearchLocalNtpUrl));
page->SetContents(web_contents());
@@ -129,7 +129,7 @@ TEST_F(InstantPageTest, PageURLDoesntBelongToInstantRenderer) {
// Test to verify that ChromeViewMsg_DetermineIfPageSupportsInstant message
// reply handler updates the instant support state in InstantPage.
TEST_F(InstantPageTest, PageSupportsInstant) {
- page.reset(new InstantPage(&delegate, "", NULL, false));
+ page.reset(new InstantPage(&delegate, "", NULL));
EXPECT_FALSE(page->supports_instant());
page->SetContents(web_contents());
NavigateAndCommit(GURL("chrome-search://foo/bar"));
« no previous file with comments | « chrome/browser/ui/search/instant_page.cc ('k') | chrome/browser/ui/search/instant_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698