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

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

Issue 11555033: Adding local html page used in Instant Extended mode when instant is disabled or unavailable. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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
Index: chrome/browser/ui/search/search.cc
diff --git a/chrome/browser/ui/search/search.cc b/chrome/browser/ui/search/search.cc
index edfd81a44b9b9fbe5a2cee76e341f7404e66e0d2..f22aca8ac7388bd7c883451c8d643921d9686bfd 100644
--- a/chrome/browser/ui/search/search.cc
+++ b/chrome/browser/ui/search/search.cc
@@ -20,10 +20,6 @@ bool IsInstantExtendedAPIEnabled(const Profile* profile) {
}
uint64 EmbeddedSearchPageVersion(const Profile* profile) {
- // Incognito windows do not currently use the embedded search API.
- if (profile->IsOffTheRecord())
- return 0;
-
// Check Finch field trials.
base::FieldTrial* trial = base::FieldTrialList::Find("InstantExtended");
if (trial && StartsWithASCII(trial->group_name(), "Group", true)) {

Powered by Google App Engine
This is Rietveld 408576698