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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2407683002: PDF: Check the loaded URL in sendScriptingMessage_(). (Closed)
Patch Set: Created 4 years, 2 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: pdf/pdfium/pdfium_engine.cc
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc
index f3ae32c109488f52f10438a9ddf030c339d2c431..2640d2d74e5d03e4ca2c21d6575ac4d6b047e323 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -1000,6 +1000,10 @@ pp::URLLoader PDFiumEngine::CreateURLLoader() {
return client_->CreateURLLoader();
}
+void PDFiumEngine::OnGotActualURL(const std::string& url) {
+ client_->OnGotActualURL(url);
+}
+
void PDFiumEngine::AppendPage(PDFEngine* engine, int index) {
// Unload and delete the blank page before appending.
pages_[index]->Unload();

Powered by Google App Engine
This is Rietveld 408576698