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

Unified Diff: pdf/document_loader.h

Issue 2455663004: Add test to ensure that URLs that redirect inside the PDF plugin fail to load (Closed)
Patch Set: Created 4 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: pdf/document_loader.h
diff --git a/pdf/document_loader.h b/pdf/document_loader.h
index cf85e99e5a1add35f6ef865815f2581805f31a28..583055ad8af05e5c1096e2a09468fdbfdc191b02 100644
--- a/pdf/document_loader.h
+++ b/pdf/document_loader.h
@@ -39,6 +39,8 @@ class DocumentLoader {
virtual void OnNewDataAvailable() = 0;
// Notification called when document is fully loaded.
virtual void OnDocumentComplete() = 0;
+ // Notification called if the document unrecoverably fails to load.
+ virtual void DocumentLoadFailed() = 0;
};
explicit DocumentLoader(Client* client);

Powered by Google App Engine
This is Rietveld 408576698