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

Unified Diff: content/shell/browser/shell.h

Issue 176883012: Set the original url correctly if the frame is loaded via loadData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments and rebase Created 6 years, 9 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/shell/browser/shell.h
diff --git a/content/shell/browser/shell.h b/content/shell/browser/shell.h
index 5248199eebbe40c14d26611e0c018783f674160d..88065c340ce682153812eca12dad91960a7e2601 100644
--- a/content/shell/browser/shell.h
+++ b/content/shell/browser/shell.h
@@ -62,6 +62,9 @@ class Shell : public WebContentsDelegate,
void LoadURL(const GURL& url);
void LoadURLForFrame(const GURL& url, const std::string& frame_name);
+ void LoadDataWithBaseURL(const GURL& url,
+ const std::string& data,
+ const GURL& base_url);
void GoBackOrForward(int offset);
void Reload();
void Stop();

Powered by Google App Engine
This is Rietveld 408576698