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

Side by Side Diff: content/browser/service_worker/service_worker_info.h

Issue 360123002: ServiceWorker: some more groundwork in support of the update process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/browser/service_worker/service_worker_version.h" 10 #include "content/browser/service_worker/service_worker_version.h"
(...skipping 23 matching lines...) Expand all
34 }; 34 };
35 35
36 class CONTENT_EXPORT ServiceWorkerRegistrationInfo { 36 class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
37 public: 37 public:
38 ServiceWorkerRegistrationInfo(); 38 ServiceWorkerRegistrationInfo();
39 ServiceWorkerRegistrationInfo( 39 ServiceWorkerRegistrationInfo(
40 const GURL& script_url, 40 const GURL& script_url,
41 const GURL& pattern, 41 const GURL& pattern,
42 int64 registration_id, 42 int64 registration_id,
43 const ServiceWorkerVersionInfo& active_version, 43 const ServiceWorkerVersionInfo& active_version,
44 const ServiceWorkerVersionInfo& waiting_version); 44 const ServiceWorkerVersionInfo& waiting_version,
45 const ServiceWorkerVersionInfo& installing_version);
45 ~ServiceWorkerRegistrationInfo(); 46 ~ServiceWorkerRegistrationInfo();
46 47
47 GURL script_url; 48 GURL script_url;
48 GURL pattern; 49 GURL pattern;
49 int64 registration_id; 50 int64 registration_id;
51 ServiceWorkerVersionInfo controlling_version;
50 ServiceWorkerVersionInfo active_version; 52 ServiceWorkerVersionInfo active_version;
51 ServiceWorkerVersionInfo waiting_version; 53 ServiceWorkerVersionInfo waiting_version;
54 ServiceWorkerVersionInfo installing_version;
52 }; 55 };
53 56
54 } // namespace content 57 } // namespace content
55 58
56 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 59 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_context_core.cc ('k') | content/browser/service_worker/service_worker_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698