| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 const std::vector<TransferredMessagePort>& sent_message_ports, | 132 const std::vector<TransferredMessagePort>& sent_message_ports, |
| 133 const std::vector<int>& new_routing_ids); | 133 const std::vector<int>& new_routing_ids); |
| 134 void OnCrossOriginMessageToWorker( | 134 void OnCrossOriginMessageToWorker( |
| 135 const NavigatorConnectClient& client, | 135 const NavigatorConnectClient& client, |
| 136 const base::string16& message, | 136 const base::string16& message, |
| 137 const std::vector<TransferredMessagePort>& sent_message_ports, | 137 const std::vector<TransferredMessagePort>& sent_message_ports, |
| 138 const std::vector<int>& new_routing_ids); | 138 const std::vector<int>& new_routing_ids); |
| 139 void OnDidGetClientDocuments( | 139 void OnDidGetClientDocuments( |
| 140 int request_id, const std::vector<ServiceWorkerClientInfo>& clients); | 140 int request_id, const std::vector<ServiceWorkerClientInfo>& clients); |
| 141 void OnOpenWindowResponse(int request_id, | 141 void OnOpenWindowResponse(int request_id, |
| 142 const GURL& url, |
| 142 const ServiceWorkerClientInfo& client); | 143 const ServiceWorkerClientInfo& client); |
| 143 void OnOpenWindowError(int request_id); | 144 void OnOpenWindowError(int request_id); |
| 144 void OnFocusClientResponse(int request_id, | 145 void OnFocusClientResponse(int request_id, |
| 145 const ServiceWorkerClientInfo& client); | 146 const ServiceWorkerClientInfo& client); |
| 146 void OnDidSkipWaiting(int request_id); | 147 void OnDidSkipWaiting(int request_id); |
| 147 void OnDidClaimClients(int request_id); | 148 void OnDidClaimClients(int request_id); |
| 148 void OnClaimClientsError(int request_id, | 149 void OnClaimClientsError(int request_id, |
| 149 blink::WebServiceWorkerError::ErrorType error_type, | 150 blink::WebServiceWorkerError::ErrorType error_type, |
| 150 const base::string16& message); | 151 const base::string16& message); |
| 151 void OnPing(); | 152 void OnPing(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 181 std::map<int, base::TimeTicks> install_start_timings_; | 182 std::map<int, base::TimeTicks> install_start_timings_; |
| 182 std::map<int, base::TimeTicks> notification_click_start_timings_; | 183 std::map<int, base::TimeTicks> notification_click_start_timings_; |
| 183 std::map<int, base::TimeTicks> push_start_timings_; | 184 std::map<int, base::TimeTicks> push_start_timings_; |
| 184 | 185 |
| 185 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext); | 186 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace content | 189 } // namespace content |
| 189 | 190 |
| 190 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ | 191 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ |
| OLD | NEW |