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

Unified Diff: content/public/browser/navigation_entry.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: Indentation 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
Index: content/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 63af6871b20e202b7d796960e9d298c9d86e2a35..349b0b0a6b299fa6f9994065c29c512a51969f6f 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -182,6 +182,11 @@ class NavigationEntry {
// resources.
virtual void SetCanLoadLocalResources(bool allow) = 0;
virtual bool GetCanLoadLocalResources() const = 0;
+
+ // Set extra browser data on this NavigationEntry.
+ virtual void SetExtraData(const std::string key, const string16& data) = 0;
sky 2013/01/16 22:32:37 con std::string& key
Mathieu 2013/01/17 15:59:29 Done.
+ virtual const bool GetExtraData(const std::string key, string16* out_value)
+ const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698