| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ |
| 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ | 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include <set> |
| 8 #include <vector> | 9 #include <vector> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 11 #include "content/child/worker_thread_message_filter.h" | 12 #include "content/child/worker_thread_message_filter.h" |
| 12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 13 | 14 |
| 14 struct ServiceWorkerMsg_MessageToDocument_Params; | 15 struct ServiceWorkerMsg_MessageToDocument_Params; |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const std::vector<ServiceWorkerVersionAttributes>& attrs); | 55 const std::vector<ServiceWorkerVersionAttributes>& attrs); |
| 55 void OnStaleSetVersionAttributes( | 56 void OnStaleSetVersionAttributes( |
| 56 int thread_id, | 57 int thread_id, |
| 57 int registration_handle_id, | 58 int registration_handle_id, |
| 58 int changed_mask, | 59 int changed_mask, |
| 59 const ServiceWorkerVersionAttributes& attrs); | 60 const ServiceWorkerVersionAttributes& attrs); |
| 60 void OnStaleSetControllerServiceWorker( | 61 void OnStaleSetControllerServiceWorker( |
| 61 int thread_id, | 62 int thread_id, |
| 62 int provider_id, | 63 int provider_id, |
| 63 const ServiceWorkerObjectInfo& info, | 64 const ServiceWorkerObjectInfo& info, |
| 64 bool should_notify_controllerchange); | 65 bool should_notify_controllerchange, |
| 66 const std::set<uint32_t>& used_features); |
| 65 void OnStaleMessageToDocument( | 67 void OnStaleMessageToDocument( |
| 66 const ServiceWorkerMsg_MessageToDocument_Params& params); | 68 const ServiceWorkerMsg_MessageToDocument_Params& params); |
| 67 | 69 |
| 68 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerMessageFilter); | 70 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerMessageFilter); |
| 69 }; | 71 }; |
| 70 | 72 |
| 71 } // namespace content | 73 } // namespace content |
| 72 | 74 |
| 73 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ | 75 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ |
| OLD | NEW |