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

Unified Diff: chrome/browser/android/offline_pages/offline_page_request_job.h

Issue 2337363002: Load live version when reloading an offline page on connected network (Closed)
Patch Set: Update BUILD.gn Created 4 years, 3 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: chrome/browser/android/offline_pages/offline_page_request_job.h
diff --git a/chrome/browser/android/offline_pages/offline_page_request_job.h b/chrome/browser/android/offline_pages/offline_page_request_job.h
index 8c9541664e4ba11519fb0abe8a3a275f56e6a465..09af8b64d90d95c94c85e0ae499ca4bbe21f59f5 100644
--- a/chrome/browser/android/offline_pages/offline_page_request_job.h
+++ b/chrome/browser/android/offline_pages/offline_page_request_job.h
@@ -16,24 +16,6 @@ class FilePath;
namespace offline_pages {
-// Header that indicates that the offline page should be loaded if it exists
-// regardless current network conditions. Its value is a comma/space separated
-// name-value pair that may provide reason or define custom behavior.
-extern const char kOfflinePageHeader[];
-// The name used in name-value pair of kOfflinePageHeader to tell if the offline
-// info in this header should be persisted across session restore.
-extern const char kOfflinePageHeaderPersistKey[];
-// The name used in name-value pair of kOfflinePageHeader to denote the reason
-// for loading offline page.
-extern const char kOfflinePageHeaderReasonKey[];
-// Possible values in name-value pair that denote the reason for loading offline
-// page.
-extern const char kOfflinePageHeaderReasonValueDueToNetError[];
-extern const char kOfflinePageHeaderReasonValueFromDownload[];
-// The name used in name-value pair of kOfflinePageHeader to denote the offline
-// ID of the offline page to load.
-extern const char kOfflinePageHeaderIDKey[];
-
// A request job that serves content from offline file.
class OfflinePageRequestJob : public net::URLRequestFileJob {
public:

Powered by Google App Engine
This is Rietveld 408576698