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

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

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really remove webkit_support Created 7 years, 8 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.h ('k') | chrome/browser/sessions/base_session_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index b31b018b74a880420c2f63f9df866c5a6f79075d..15f61d96e061456911ea10bd30a60a3fd2f5d759 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -19,6 +19,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
+#include "components/sessions/serialized_navigation_entry.h"
#include "components/user_prefs/pref_registry_syncable.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/render_process_host.h"
@@ -230,8 +231,6 @@ string16 GetSearchTermsImpl(const content::WebContents* contents,
} // namespace
-const char kInstantExtendedSearchTermsKey[] = "search_terms";
-
// Negative start-margin values prevent the "es_sm" parameter from being used.
const int kDisableStartMargin = -1;
@@ -303,7 +302,7 @@ string16 GetSearchTermsFromNavigationEntry(
const content::NavigationEntry* entry) {
string16 search_terms;
if (entry)
- entry->GetExtraData(kInstantExtendedSearchTermsKey, &search_terms);
+ entry->GetExtraData(sessions::kSearchTermsKey, &search_terms);
return search_terms;
}
« no previous file with comments | « chrome/browser/search/search.h ('k') | chrome/browser/sessions/base_session_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698