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 0e8333d6b1ec3021d3f82ae6e0ef4101022dad03..d9af8902c94a88c9e9c560288e6ea226207df77b 100644 |
--- a/chrome/browser/android/offline_pages/offline_page_request_job.h |
+++ b/chrome/browser/android/offline_pages/offline_page_request_job.h |
@@ -19,13 +19,24 @@ 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 kLoadingOfflinePageHeader[]; |
+extern const char kOfflinePageHeader[]; |
+// The name used in name-value pair of kLoadingOfflinePageHeader to tell if the |
Dmitry Titov
2016/09/09 04:33:06
Need to update comment here - there is no more kLo
jianli
2016/09/10 00:56:04
Done.
|
+// offline info in this header should be persisted across session restore. |
+extern const char kOfflinePageHeaderPersistKey[]; |
Dmitry Titov
2016/09/09 04:33:06
Is this from a separate CL? This CL does not seem
jianli
2016/09/10 00:56:04
Another CL (https://codereview.chromium.org/231036
|
// The name used in name-value pair of kLoadingOfflinePageHeader to denote the |
// reason for loading offline page. |
-extern const char kLoadingOfflinePageReason[]; |
+extern const char kOfflinePageHeaderReasonKey[]; |
// Possible values in name-value pair that denote the reason for loading offline |
// page. |
-extern const char kLoadingOfflinePageDueToNetError[]; |
+extern const char kOfflinePageHeaderReasonValueDueToNetError[]; |
+// The name used in name-value pair of kLoadingOfflinePageHeader to denote the |
+// namespace of the offline page to load. |
+extern const char kOfflinePageHeaderNamespaceKey[]; |
+// The name used in name-value pair of kLoadingOfflinePageHeader to denote the |
+// ID of the offline page to load. If kOfflinePageNamespace value exists, this |
+// ID is the client ID within the specific namespace. Otherwise, this ID is the |
+// offline ID. |
+extern const char kOfflinePageHeaderIDKey[]; |
// A request job that serves content from offline file. |
class OfflinePageRequestJob : public net::URLRequestFileJob { |