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

Side by Side Diff: content/common/service_worker/service_worker_types.cc

Issue 676963002: Fix uninitialized memory introduced in https://codereview.chromium.org/623823002/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/service_worker/service_worker_types.h" 5 #include "content/common/service_worker/service_worker_types.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 ServiceWorkerFetchRequest::ServiceWorkerFetchRequest() 9 ServiceWorkerFetchRequest::ServiceWorkerFetchRequest()
10 : mode(FETCH_REQUEST_MODE_NO_CORS), 10 : mode(FETCH_REQUEST_MODE_NO_CORS),
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ignore_vary(false), 66 ignore_vary(false),
67 prefix_match(false) {} 67 prefix_match(false) {}
68 68
69 ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {} 69 ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {}
70 70
71 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() 71 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo()
72 : handle_id(kInvalidServiceWorkerHandleId), 72 : handle_id(kInvalidServiceWorkerHandleId),
73 state(blink::WebServiceWorkerStateUnknown) {} 73 state(blink::WebServiceWorkerStateUnknown) {}
74 74
75 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() 75 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo()
76 : handle_id(kInvalidServiceWorkerRegistrationHandleId) {} 76 : handle_id(kInvalidServiceWorkerRegistrationHandleId),
77 registration_id(kInvalidServiceWorkerRegistrationId) {
78 }
77 79
78 } // namespace content 80 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698