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

Unified Diff: components/offline_pages/core/offline_page_archiver.h

Issue 2810913002: [Offline pages] Add new Error page failure status inside the MHTML archiver and update correspondin… (Closed)
Patch Set: add comments and fix tests Created 3 years, 8 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: components/offline_pages/core/offline_page_archiver.h
diff --git a/components/offline_pages/core/offline_page_archiver.h b/components/offline_pages/core/offline_page_archiver.h
index 31f2d337c742086182234949d21d9a3c94a848ed..cfada7b4dea1fe2e2136d33d96ec321c0a54ef14 100644
--- a/components/offline_pages/core/offline_page_archiver.h
+++ b/components/offline_pages/core/offline_page_archiver.h
@@ -50,6 +50,8 @@ class OfflinePageArchiver {
ERROR_ARCHIVE_CREATION_FAILED, // Creation of archive failed.
ERROR_SECURITY_CERTIFICATE, // Page was loaded on secure connection, but
// there was a security error.
+ ERROR_ERROR_PAGE, // We detected an error page.
+ ERROR_INTERSTITIAL_PAGE, // We detected an interstitial page.
};
// Describes the parameters to control how to create an archive.

Powered by Google App Engine
This is Rietveld 408576698