OLD | NEW |
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_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ | 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ |
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ | 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // response. | 109 // response. |
110 int current_request_id_; | 110 int current_request_id_; |
111 | 111 |
112 // Pending callbacks for GetClientDocuments(). | 112 // Pending callbacks for GetClientDocuments(). |
113 ClientsCallbacksMap pending_clients_callbacks_; | 113 ClientsCallbacksMap pending_clients_callbacks_; |
114 | 114 |
115 // Capture timestamps for UMA | 115 // Capture timestamps for UMA |
116 std::map<int, base::TimeTicks> activate_start_timings_; | 116 std::map<int, base::TimeTicks> activate_start_timings_; |
117 std::map<int, base::TimeTicks> fetch_start_timings_; | 117 std::map<int, base::TimeTicks> fetch_start_timings_; |
118 std::map<int, base::TimeTicks> install_start_timings_; | 118 std::map<int, base::TimeTicks> install_start_timings_; |
| 119 std::map<int, base::TimeTicks> push_start_timings_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext); | 121 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext); |
121 }; | 122 }; |
122 | 123 |
123 } // namespace content | 124 } // namespace content |
124 | 125 |
125 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ | 126 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ |
OLD | NEW |