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

Unified Diff: content/common/navigation_params.cc

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/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index d6d1eb1abaafe537f722ff4ff2a496ea0fdc7030..5d430c0883a1b19af6dcab22ba21f30b94f0f58c 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "build/build_config.h"
#include "content/common/service_worker/service_worker_types.h"
+#include "content/public/common/appcache_info.h"
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/url_constants.h"
#include "url/gurl.h"
@@ -135,7 +136,8 @@ RequestNavigationParams::RequestNavigationParams()
should_clear_history_list(false),
should_create_service_worker(false),
service_worker_provider_id(kInvalidServiceWorkerProviderId),
- has_user_gesture(false) {}
+ has_user_gesture(false),
+ appcache_host_id(kAppCacheNoHostId) {}
RequestNavigationParams::RequestNavigationParams(
bool is_overriding_user_agent,
@@ -171,7 +173,8 @@ RequestNavigationParams::RequestNavigationParams(
should_clear_history_list(should_clear_history_list),
should_create_service_worker(false),
service_worker_provider_id(kInvalidServiceWorkerProviderId),
- has_user_gesture(has_user_gesture) {}
+ has_user_gesture(has_user_gesture),
+ appcache_host_id(kAppCacheNoHostId) {}
RequestNavigationParams::RequestNavigationParams(
const RequestNavigationParams& other) = default;

Powered by Google App Engine
This is Rietveld 408576698