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

Unified Diff: content/browser/web_contents/navigation_entry_impl.h

Issue 10544175: Add an ability to call WebKit's WebFrame::loadData via NavigationController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comments Created 8 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: content/browser/web_contents/navigation_entry_impl.h
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
index 88d89929b0c9d5db58ae93333f789649e215c6f8..74c7e0b5fd805b57823010b72fc6ed4d35e14058 100644
--- a/content/browser/web_contents/navigation_entry_impl.h
+++ b/content/browser/web_contents/navigation_entry_impl.h
@@ -36,6 +36,8 @@ class CONTENT_EXPORT NavigationEntryImpl
virtual PageType GetPageType() const OVERRIDE;
virtual void SetURL(const GURL& url) OVERRIDE;
virtual const GURL& GetURL() const OVERRIDE;
+ virtual void SetBaseURL(const GURL& url) OVERRIDE;
+ virtual const GURL& GetBaseURL() const OVERRIDE;
virtual void SetReferrer(const Referrer& referrer) OVERRIDE;
virtual const Referrer& GetReferrer() const OVERRIDE;
virtual void SetVirtualURL(const GURL& url) OVERRIDE;
@@ -187,6 +189,9 @@ class CONTENT_EXPORT NavigationEntryImpl
// This member is not persisted with sesssion restore.
std::string extra_headers_;
+ // Used for specifying base URL for pages loaded via data URLs. Not persisted.
+ GURL base_url_;
+
// Whether the entry, while loading, was created for a renderer-initiated
// navigation. This dictates whether the URL should be displayed before the
// navigation commits. It is cleared on commit and not persisted.

Powered by Google App Engine
This is Rietveld 408576698