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

Unified Diff: chrome/browser/search/search_unittest.cc

Issue 135383002: InstantExtended: assign all cacheable NTPs to the same process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests. Created 6 years, 10 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/search/search.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search_unittest.cc
diff --git a/chrome/browser/search/search_unittest.cc b/chrome/browser/search/search_unittest.cc
index db21ba53203a2e9ccee4455d663d41b971b67668..c04fe0ec8132326a92d1af42f4034861a7097c31 100644
--- a/chrome/browser/search/search_unittest.cc
+++ b/chrome/browser/search/search_unittest.cc
@@ -284,7 +284,7 @@ TEST_F(SearchTest, ShouldUseProcessPerSiteForInstantURL) {
const SearchTestCase kTestCases[] = {
{"chrome-search://local-ntp", true, "Local NTP"},
- {"chrome-search://online-ntp", true, "Online NTP"},
+ {"chrome-search://remote-ntp", true, "Remote NTP"},
{"invalid-scheme://local-ntp", false, "Invalid Local NTP URL"},
{"invalid-scheme://online-ntp", false, "Invalid Online NTP URL"},
{"chrome-search://foo.com", false, "Search result page"},
@@ -327,10 +327,10 @@ const struct ProcessIsolationTestCase {
"chrome-search://local-ntp", true,
"https://foo.com/other", false, false },
{"Remote NTP -> SRP",
- "https://foo.com/instant?strk", true,
+ "https://foo.com/newtab?strk", true,
"https://foo.com/url?strk", true, false },
{"Remote NTP -> Regular",
- "https://foo.com/instant?strk", true,
+ "https://foo.com/newtab?strk", true,
"https://foo.com/other", false, false },
{"SRP -> SRP",
"https://foo.com/url?strk", true,
« no previous file with comments | « chrome/browser/search/search.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698