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

Unified Diff: chrome/browser/ui/search/instant_page.h

Issue 17303003: InstantExtended: hook up InstantTab in incognito. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont send other info in incognito. Created 7 years, 6 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
Index: chrome/browser/ui/search/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index b67647bf32f5d54425b84d0783cddad513a69712..a294600a2210a1e1385da6dfebc6e5da8aabf7d9 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -194,7 +194,8 @@ class InstantPage : public content::WebContentsObserver,
void ToggleVoiceSearch();
protected:
- InstantPage(Delegate* delegate, const std::string& instant_url);
+ InstantPage(Delegate* delegate, const std::string& instant_url,
+ bool off_the_record);
// Sets |web_contents| as the page to communicate with. |web_contents| may be
// NULL, which effectively stops all communication.
@@ -277,6 +278,7 @@ class InstantPage : public content::WebContentsObserver,
Delegate* const delegate_;
const std::string instant_url_;
+ const bool off_the_record_;
DISALLOW_COPY_AND_ASSIGN(InstantPage);
};

Powered by Google App Engine
This is Rietveld 408576698