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

Unified Diff: content/public/browser/navigation_entry.h

Issue 1449793002: data_with_base_url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 5 years, 1 month 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 773028116e51afb538ecc9e21e0767de0cda758a..69cd7e33eee2814bbce399e6453dc3ed634f3193 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -52,9 +52,13 @@ class NavigationEntry {
virtual const GURL& GetURL() const = 0;
// Used for specifying a base URL for pages loaded via data URLs.
+ // TODO(boliu): Remove these.
virtual void SetBaseURLForDataURL(const GURL& url) = 0;
virtual const GURL& GetBaseURLForDataURL() const = 0;
+ virtual void SetDataURLWithBaseURL(const GURL& url) = 0;
+ virtual const GURL& GetDataURLWithBaseURL() const = 0;
+
// The referring URL. Can be empty.
virtual void SetReferrer(const content::Referrer& referrer) = 0;
virtual const content::Referrer& GetReferrer() const = 0;

Powered by Google App Engine
This is Rietveld 408576698