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

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

Issue 2039743003: Introduce ServiceWorker.ActivatedWorkerPreparationForMainFrame.Time UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated falken's comment Created 4 years, 6 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 ClientInfo(); 23 ClientInfo();
24 ClientInfo(int process_id, int route_id, ServiceWorkerProviderType type); 24 ClientInfo(int process_id, int route_id, ServiceWorkerProviderType type);
25 ~ClientInfo(); 25 ~ClientInfo();
26 int process_id; 26 int process_id;
27 int route_id; 27 int route_id;
28 ServiceWorkerProviderType type; 28 ServiceWorkerProviderType type;
29 }; 29 };
30 30
31 ServiceWorkerVersionInfo(); 31 ServiceWorkerVersionInfo();
32 ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status, 32 ServiceWorkerVersionInfo(EmbeddedWorkerStatus running_status,
33 ServiceWorkerVersion::Status status, 33 ServiceWorkerVersion::Status status,
34 const GURL& script_url, 34 const GURL& script_url,
35 int64_t registration_id, 35 int64_t registration_id,
36 int64_t version_id, 36 int64_t version_id,
37 int process_id, 37 int process_id,
38 int thread_id, 38 int thread_id,
39 int devtools_agent_route_id); 39 int devtools_agent_route_id);
40 ServiceWorkerVersionInfo(const ServiceWorkerVersionInfo& other); 40 ServiceWorkerVersionInfo(const ServiceWorkerVersionInfo& other);
41 ~ServiceWorkerVersionInfo(); 41 ~ServiceWorkerVersionInfo();
42 42
43 ServiceWorkerVersion::RunningStatus running_status; 43 EmbeddedWorkerStatus running_status;
44 ServiceWorkerVersion::Status status; 44 ServiceWorkerVersion::Status status;
45 GURL script_url; 45 GURL script_url;
46 int64_t registration_id; 46 int64_t registration_id;
47 int64_t version_id; 47 int64_t version_id;
48 int process_id; 48 int process_id;
49 int thread_id; 49 int thread_id;
50 int devtools_agent_route_id; 50 int devtools_agent_route_id;
51 base::Time script_response_time; 51 base::Time script_response_time;
52 base::Time script_last_modified; 52 base::Time script_last_modified;
53 std::map<std::string, ClientInfo> clients; 53 std::map<std::string, ClientInfo> clients;
(...skipping 23 matching lines...) Expand all
77 ServiceWorkerVersionInfo active_version; 77 ServiceWorkerVersionInfo active_version;
78 ServiceWorkerVersionInfo waiting_version; 78 ServiceWorkerVersionInfo waiting_version;
79 ServiceWorkerVersionInfo installing_version; 79 ServiceWorkerVersionInfo installing_version;
80 80
81 int64_t stored_version_size_bytes; 81 int64_t stored_version_size_bytes;
82 }; 82 };
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 86 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698