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

Unified Diff: content/browser/frame_host/navigation_request.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.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index 7d3e82f4c3e75a07deb23f3d5b918508f80eb1bb..3d8ff940f1ac695dbb7eded8dd52fa82d513e8f5 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -229,6 +229,13 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
scoped_refptr<ResourceResponse> response_;
std::unique_ptr<StreamHandle> body_;
+ // The host_id used by the AppCacheDispatcherHost to identity this
+ /// navigation.
+ int appcache_host_id_;
michaeln 2016/11/22 00:17:27 we put this value in the ServiceWorkerNavigationHa
+
+ // Set to true when the navigation commits. Defaults to false.
+ bool navigation_committed_;
+
DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
};

Powered by Google App Engine
This is Rietveld 408576698