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

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: Fix uninitialized variable. 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 6b2716af79cc92e08aac02dd085d05415deaf973..659d4925c2b98f6a0b4a3b590f5c2fc5e873ace4 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)) {
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698