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

Unified Diff: content/common/service_worker/service_worker_types.cc

Issue 1597383002: Service Worker: (Re-commit) Add FetchEvent.clientId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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: content/common/service_worker/service_worker_types.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index 8ab0fec51c8887394e3400c2f8fe09d8b12b26b5..e9ff0b96319a11363562c47e146282d4dbe3dc98 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -21,6 +21,7 @@ const char kFetchScriptError[] =
ServiceWorkerFetchRequest::ServiceWorkerFetchRequest()
: mode(FETCH_REQUEST_MODE_NO_CORS),
+ is_main_resource_load(false),
jungkees 2016/01/18 10:04:32 This line fixes the use-of-uninitialized-value war
request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED),
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE),
blob_size(0),
@@ -35,6 +36,7 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
const Referrer& referrer,
bool is_reload)
: mode(FETCH_REQUEST_MODE_NO_CORS),
+ is_main_resource_load(false),
jungkees 2016/01/18 10:04:32 This line fixes the use-of-uninitialized-value war
request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED),
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE),
url(url),
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | content/renderer/service_worker/service_worker_context_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698