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

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

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 #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 "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 13 matching lines...) Expand all
24 int process_id; 24 int process_id;
25 int route_id; 25 int route_id;
26 ServiceWorkerProviderType type; 26 ServiceWorkerProviderType type;
27 }; 27 };
28 28
29 ServiceWorkerVersionInfo(); 29 ServiceWorkerVersionInfo();
30 ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status, 30 ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status,
31 ServiceWorkerVersion::Status status, 31 ServiceWorkerVersion::Status status,
32 const GURL& script_url, 32 const GURL& script_url,
33 int64 registration_id, 33 int64 registration_id,
34 int64 version_id, 34 std::string version_uuid,
35 int process_id, 35 int process_id,
36 int thread_id, 36 int thread_id,
37 int devtools_agent_route_id); 37 int devtools_agent_route_id);
38 ~ServiceWorkerVersionInfo(); 38 ~ServiceWorkerVersionInfo();
39 39
40 ServiceWorkerVersion::RunningStatus running_status; 40 ServiceWorkerVersion::RunningStatus running_status;
41 ServiceWorkerVersion::Status status; 41 ServiceWorkerVersion::Status status;
42 GURL script_url; 42 GURL script_url;
43 int64 registration_id; 43 int64 registration_id;
44 int64 version_id; 44 std::string version_uuid;
45 int process_id; 45 int process_id;
46 int thread_id; 46 int thread_id;
47 int devtools_agent_route_id; 47 int devtools_agent_route_id;
48 base::Time script_response_time; 48 base::Time script_response_time;
49 base::Time script_last_modified; 49 base::Time script_last_modified;
50 std::map<std::string, ClientInfo> clients; 50 std::map<std::string, ClientInfo> clients;
51 }; 51 };
52 52
53 struct CONTENT_EXPORT ServiceWorkerRegistrationInfo { 53 struct CONTENT_EXPORT ServiceWorkerRegistrationInfo {
54 public: 54 public:
(...skipping 18 matching lines...) Expand all
73 ServiceWorkerVersionInfo active_version; 73 ServiceWorkerVersionInfo active_version;
74 ServiceWorkerVersionInfo waiting_version; 74 ServiceWorkerVersionInfo waiting_version;
75 ServiceWorkerVersionInfo installing_version; 75 ServiceWorkerVersionInfo installing_version;
76 76
77 int64_t stored_version_size_bytes; 77 int64_t stored_version_size_bytes;
78 }; 78 };
79 79
80 } // namespace content 80 } // namespace content
81 81
82 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 82 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698