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

Unified Diff: content/browser/frame_host/navigation_request_info.h

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Add DCHECKs for PlzNavigate and fix a double Release problem which caused one unit_test to fail wit… 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: content/browser/frame_host/navigation_request_info.h
diff --git a/content/browser/frame_host/navigation_request_info.h b/content/browser/frame_host/navigation_request_info.h
index 53579085c486d37027e44aaba212f3d33dcb327d..054bb22ccefdb8a7edb2ed1b274d32f5bbe26942 100644
--- a/content/browser/frame_host/navigation_request_info.h
+++ b/content/browser/frame_host/navigation_request_info.h
@@ -17,6 +17,8 @@
namespace content {
+class AppCacheServiceImpl;
+
// A struct to hold the parameters needed to start a navigation request in
// ResourceDispatcherHost. It is initialized on the UI thread, and then passed
// to the IO thread by a NavigationRequest object.
@@ -30,7 +32,9 @@ struct CONTENT_EXPORT NavigationRequestInfo {
bool are_ancestors_secure,
int frame_tree_node_id,
bool is_for_guests_only,
- bool report_raw_headers);
+ bool report_raw_headers,
+ int appcache_host_id,
+ AppCacheServiceImpl* appcache_service);
~NavigationRequestInfo();
const CommonNavigationParams common_params;
@@ -55,6 +59,12 @@ struct CONTENT_EXPORT NavigationRequestInfo {
const bool is_for_guests_only;
const bool report_raw_headers;
+
+ // Identifies the ID of the pending appcache host which is registered when a
+ // navigation is initiated.
+ const int appcache_host_id;
+
+ AppCacheServiceImpl* appcache_service;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698