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

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

Issue 1221643014: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Chromium 2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
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 const char kServiceWorkerRegisterErrorPrefix[] = 9 const char kServiceWorkerRegisterErrorPrefix[] =
10 "Failed to register a ServiceWorker: "; 10 "Failed to register a ServiceWorker: ";
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 blob_uuid(blob_uuid), 69 blob_uuid(blob_uuid),
70 blob_size(blob_size), 70 blob_size(blob_size),
71 stream_url(stream_url) { 71 stream_url(stream_url) {
72 } 72 }
73 73
74 ServiceWorkerResponse::~ServiceWorkerResponse() {} 74 ServiceWorkerResponse::~ServiceWorkerResponse() {}
75 75
76 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() 76 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo()
77 : handle_id(kInvalidServiceWorkerHandleId), 77 : handle_id(kInvalidServiceWorkerHandleId),
78 state(blink::WebServiceWorkerStateUnknown), 78 state(blink::WebServiceWorkerStateUnknown),
79 version_id(kInvalidServiceWorkerVersionId) {} 79 version_uuid(std::string()) {}
80 80
81 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() 81 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo()
82 : handle_id(kInvalidServiceWorkerRegistrationHandleId), 82 : handle_id(kInvalidServiceWorkerRegistrationHandleId),
83 registration_id(kInvalidServiceWorkerRegistrationId) { 83 registration_id(kInvalidServiceWorkerRegistrationId) {
84 } 84 }
85 85
86 ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions() 86 ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions()
87 : client_type(blink::WebServiceWorkerClientTypeWindow), 87 : client_type(blink::WebServiceWorkerClientTypeWindow),
88 include_uncontrolled(false) { 88 include_uncontrolled(false) {
89 } 89 }
90 90
91 } // namespace content 91 } // namespace content
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698