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

Unified Diff: chrome/browser/sessions/session_types.h

Issue 11876045: [Search] Store and recall search terms using NavigationEntry to improve search term extraction (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: reupload Created 7 years, 11 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 | « no previous file | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_types.h
diff --git a/chrome/browser/sessions/session_types.h b/chrome/browser/sessions/session_types.h
index c81c75f604d335197fe1010798d040ceb1a30168..8c20de48fcaca8cc4d09b9d5bbd7810e4184a9e0 100644
--- a/chrome/browser/sessions/session_types.h
+++ b/chrome/browser/sessions/session_types.h
@@ -87,6 +87,7 @@ class TabNavigation {
const GURL& virtual_url() const { return virtual_url_; }
const string16& title() const { return title_; }
const std::string& content_state() const { return content_state_; }
+ const string16& search_terms() const { return search_terms_; }
// Converts a set of TabNavigations into a list of NavigationEntrys
// with sequential page IDs and the given context. The caller owns
@@ -114,6 +115,7 @@ class TabNavigation {
GURL original_request_url_;
bool is_overriding_user_agent_;
base::Time timestamp_;
+ string16 search_terms_;
};
// SessionTab ----------------------------------------------------------------
« no previous file with comments | « no previous file | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698