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

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

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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
Index: chrome/browser/ui/search/instant_controller.cc
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc
index d19c04144f3dbc27d25c23e1894a575ac940440d..242dd0744d6cf85779ade055770e0ccdb22ab4c0 100644
--- a/chrome/browser/ui/search/instant_controller.cc
+++ b/chrome/browser/ui/search/instant_controller.cc
@@ -28,6 +28,7 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
+#include "components/sessions/serialized_navigation_entry.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/render_process_host.h"
@@ -191,7 +192,7 @@ void EnsureSearchTermsAreSet(content::WebContents* contents,
false,
std::string(),
contents->GetBrowserContext());
- transient->SetExtraData(chrome::kInstantExtendedSearchTermsKey, search_terms);
+ transient->SetExtraData(components::kSearchTermsKey, search_terms);
controller->SetTransientEntry(transient);
SearchTabHelper::FromWebContents(contents)->NavigationEntryUpdated();

Powered by Google App Engine
This is Rietveld 408576698